Home > Net >  The.net core 3.0 besides ef core database operation, but also how to operate the database?
The.net core 3.0 besides ef core database operation, but also how to operate the database?

Time:09-17

Like new technology, but too many problems
Now the.net core 3.0 does not depend on the.net framework, if not directly with ado.net, and don't want to use ef core, with what to manipulate the database?
Which namespace?

CodePudding user response:

Ado.net can also, just want to add a DLL
Of course many third party libraries
Like dapper

CodePudding user response:

What kind of orm, is their choice of,,,
Directly to ado.net it doesn't matter,

CodePudding user response:

Each database should have a DLL down under reference

CodePudding user response:

reference 1st floor stherix response:
ado.net can also, just want to add a DLL
Of course many third party libraries
Like dapper

Not tried, seemingly dapper

CodePudding user response:

https://docs.microsoft.com/zh-cn/sql/connect/ado-net/microsoft-ado-net-for-sql-server? View=SQL server - 2017
Not already integrate? See step 1 is for Linux Ubuntu and MacOS. NET core

CodePudding user response:

Don't chase after the new please, I am still in 2.1, also has high before

CodePudding user response:

Now use sqlsugar with well,
Other for help: Visual Studio got gitee plug-in, then don't know how to run the code file is lost, how to restore?

CodePudding user response:

Ef is based on the ado.net, the original poster to go clear

CodePudding user response:

refer to the eighth floor ProjectDD response:
ef is based on the ado.net, the original poster to go through the clear oh

Is to improve the development efficiency, but the execution efficiency is reduced, so want to simply use ado.net
But in the end chose SqlSugar

CodePudding user response:

Core EF writing SQL is very hurt now he wants to go associated with entities, in 6. X when you just need to get a 'shell' get in line

CodePudding user response:

I drunk, someone said to reference the middleware to invoke the ado day ah middleware zha

CodePudding user response:



Such as what has been used by ado.net EF

Don't need a middleware, you can directly use the

Of course, you want to pack to force, embedded middleware into use, may be used
  • Related