Microsoft.EntityFrameworkCore;//必选.
Microsoft.EntityFrameworkCore.数据库类型;//按数据库选.
Microsoft.EntityFrameworkCore.数据库类型.Design;//一般二选一
Microsoft.EntityFrameworkCore.数据库类型.Tool;//一般二选一

语句

dotnet ef dbContext scaffold
"server=127.0.0.1;database=database;username=xxx;pwd=xxx;" |
Microsoft.EntityFramworkCore.数据库类型
-o Entities

https://blog.csdn.net/EAyayaya/article/details/124048491

标签: none

添加新评论