RepositoryPatternEFCore:存储库模式+工作单元

时间:2021-02-09 14:45:25
【文件属性】:
文件名称:RepositoryPatternEFCore:存储库模式+工作单元
文件大小:55KB
文件格式:ZIP
更新时间:2021-02-09 14:45:25
C# 自述文件 该应用程序实现工作单元,存储库模式和Entity Framework Core 3.1 有和没有依赖注入的示例 安装 dotnet restore cd src cd Example.Persistence 对于Winform NET 5 添加Microsoft.EntityFrameworkCore.Design v3.1.11 添加Microsoft.EntityFrameworkCore.Tools v3.1.11 添加项目参考Example.Domain和Example.Persistence 并建立解决方案 dotnet ef --startup-project ../Example.WinformNET5/ migrations add initial dotnet ef --startup-project ../Example.WinformNET5/ datab
【文件预览】:
RepositoryPatternEFCore-master
----.gitignore(6KB)
----README.md(1KB)
----.gitattributes(2KB)
----src()
--------Example.Domain()
--------Example.Persistence()
--------dummy()
--------Example.WinformNETFramework()
--------Example.WebApi()
--------Example.WinformNET5()
----RepositoryPatternEFCore.sln(4KB)

网友评论