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

  • 拉取:
    docker pull xxxx:1.1
  • 查看本地镜像:
    docker images
  • 运行
    docker run

    -p 宿主端口:虚拟机端口   //端口映射

    -name name
    -e password
    -d 镜像名

特性

[XXXAtrribute(Object obj,Property1 = '1',Property2='2')]
其中若obj是构造方法,property1,property2可以是属性赋值.