SoFunction
Updated on 2025-03-10

Introduction to installation packages required by different databases in the EF Core project

Oracle

Install-Package 
Install-Package 
Install-Package 
Install-Package 

Connection string:

"Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)));User Id=Login;Password=Password;"

SqlServer

Install-Package 
Install-Package 
Install-Package 
Install-Package 

Connection string

"Data Source=192.168.12.34;Initial Catalog=Database name;User ID=Login name;Password=Password"

MySQL

Install-Package  -Pre
Install-Package 
Install-Package 
Install-Package 

Connection string

"server=.;userid=root;pwd=xxx;port=3306;database=dbtest;sslmode=none;"

The above is all the content of this article. I hope it will be helpful to everyone's study and I hope everyone will support me more.