-
open Package Manager Console
-
type this
cd .\ScaffoldMyDbin PM Console. -
next,
Scaffold-DbContext -Connection "Server=(local);Database=MyNiceDb;Trusted_Connection=True;" -Provider Microsoft.EntityFrameworkCore.SqlServer -OutputDir EntityModels -Forcedo this.- please set your enviromets value,
database name,access rightsand so on.
- please set your enviromets value,
arichika/EFCore2.0-Scaffold-DBContext-CustomCandidateNamingService
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|