C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\appsettings.Development.json
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\appsettings.json
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\WebApi.exe
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\WebApi.deps.json
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\WebApi.runtimeconfig.json
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\WebApi.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\WebApi.pdb
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\Azure.Core.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\Azure.Identity.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\Microsoft.AspNetCore.OpenApi.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\Microsoft.Bcl.AsyncInterfaces.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\Microsoft.Data.SqlClient.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\Microsoft.EntityFrameworkCore.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\Microsoft.EntityFrameworkCore.Abstractions.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\Microsoft.EntityFrameworkCore.Relational.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\Microsoft.EntityFrameworkCore.SqlServer.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\Microsoft.Identity.Client.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\Microsoft.Identity.Client.Extensions.Msal.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\Microsoft.IdentityModel.Abstractions.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\Microsoft.IdentityModel.JsonWebTokens.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\Microsoft.IdentityModel.Logging.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\Microsoft.IdentityModel.Protocols.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\Microsoft.IdentityModel.Protocols.OpenIdConnect.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\Microsoft.IdentityModel.Tokens.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\Microsoft.OpenApi.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\Microsoft.SqlServer.Server.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\Microsoft.Win32.SystemEvents.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\Swashbuckle.AspNetCore.Swagger.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\Swashbuckle.AspNetCore.SwaggerGen.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\Swashbuckle.AspNetCore.SwaggerUI.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\System.Configuration.ConfigurationManager.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\System.Drawing.Common.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\System.IdentityModel.Tokens.Jwt.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\System.Memory.Data.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\System.Runtime.Caching.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\System.Security.Cryptography.ProtectedData.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\System.Security.Permissions.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\System.Windows.Extensions.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\runtimes\unix\lib\netcoreapp3.1\Microsoft.Data.SqlClient.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\runtimes\win\lib\netcoreapp3.1\Microsoft.Data.SqlClient.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\runtimes\win-arm\native\Microsoft.Data.SqlClient.SNI.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\runtimes\win-arm64\native\Microsoft.Data.SqlClient.SNI.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\runtimes\win-x64\native\Microsoft.Data.SqlClient.SNI.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\runtimes\win-x86\native\Microsoft.Data.SqlClient.SNI.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\runtimes\win\lib\netcoreapp3.0\Microsoft.Win32.SystemEvents.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\runtimes\unix\lib\netcoreapp3.0\System.Drawing.Common.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\runtimes\win\lib\netcoreapp3.0\System.Drawing.Common.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\runtimes\win\lib\netstandard2.0\System.Runtime.Caching.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\runtimes\win\lib\netstandard2.0\System.Security.Cryptography.ProtectedData.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\runtimes\win\lib\netcoreapp3.0\System.Windows.Extensions.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\Core.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\Data.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\Core.pdb
C:\Users\Administrator\Desktop\ShopDemo\WebApi\bin\Debug\net7.0\Data.pdb
C:\Users\Administrator\Desktop\ShopDemo\WebApi\obj\Debug\net7.0\WebApi.csproj.AssemblyReference.cache
C:\Users\Administrator\Desktop\ShopDemo\WebApi\obj\Debug\net7.0\WebApi.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\Administrator\Desktop\ShopDemo\WebApi\obj\Debug\net7.0\WebApi.AssemblyInfoInputs.cache
C:\Users\Administrator\Desktop\ShopDemo\WebApi\obj\Debug\net7.0\WebApi.AssemblyInfo.cs
C:\Users\Administrator\Desktop\ShopDemo\WebApi\obj\Debug\net7.0\WebApi.csproj.CoreCompileInputs.cache
C:\Users\Administrator\Desktop\ShopDemo\WebApi\obj\Debug\net7.0\WebApi.MvcApplicationPartsAssemblyInfo.cs
C:\Users\Administrator\Desktop\ShopDemo\WebApi\obj\Debug\net7.0\WebApi.MvcApplicationPartsAssemblyInfo.cache
C:\Users\Administrator\Desktop\ShopDemo\WebApi\obj\Debug\net7.0\staticwebassets\msbuild.WebApi.Microsoft.AspNetCore.StaticWebAssets.props
C:\Users\Administrator\Desktop\ShopDemo\WebApi\obj\Debug\net7.0\staticwebassets\msbuild.build.WebApi.props
C:\Users\Administrator\Desktop\ShopDemo\WebApi\obj\Debug\net7.0\staticwebassets\msbuild.buildMultiTargeting.WebApi.props
C:\Users\Administrator\Desktop\ShopDemo\WebApi\obj\Debug\net7.0\staticwebassets\msbuild.buildTransitive.WebApi.props
C:\Users\Administrator\Desktop\ShopDemo\WebApi\obj\Debug\net7.0\staticwebassets.pack.json
C:\Users\Administrator\Desktop\ShopDemo\WebApi\obj\Debug\net7.0\staticwebassets.build.json
C:\Users\Administrator\Desktop\ShopDemo\WebApi\obj\Debug\net7.0\staticwebassets.development.json
C:\Users\Administrator\Desktop\ShopDemo\WebApi\obj\Debug\net7.0\scopedcss\bundle\WebApi.styles.css
C:\Users\Administrator\Desktop\ShopDemo\WebApi\obj\Debug\net7.0\WebApi.csproj.CopyComplete
C:\Users\Administrator\Desktop\ShopDemo\WebApi\obj\Debug\net7.0\WebApi.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\obj\Debug\net7.0\refint\WebApi.dll
C:\Users\Administrator\Desktop\ShopDemo\WebApi\obj\Debug\net7.0\WebApi.pdb
C:\Users\Administrator\Desktop\ShopDemo\WebApi\obj\Debug\net7.0\WebApi.genruntimeconfig.cache
C:\Users\Administrator\Desktop\ShopDemo\WebApi\obj\Debug\net7.0\ref\WebApi.dll
C:\Users\Administrator\Desktop\ShopDemo_1\WebApi\bin\Debug\net7.0\appsettings.Development.json
C:\Users\Administrator\Desktop\ShopDemo_1\WebApi\bin\Debug\net7.0\appsettings.json
C:\Users\Administrator\Desktop\ShopDemo_1\WebApi\bin\Debug\net7.0\WebApi.exe
C:\Users\Administrator\Desktop\ShopDemo_1\WebApi\bin\Debug\net7.0\WebApi.deps.json
C:\Users\Administrator\Desktop\ShopDemo_1\WebApi\bin\Debug\net7.0\WebApi.runtimeconfig.
没有合适的资源?快使用搜索试试~ 我知道了~
221219-002ShopDemo(抽离表及其字段的约束规则定义)
共167个文件
dll:58个
cs:26个
cache:17个
需积分: 5 0 下载量 76 浏览量
2022-12-19
19:27:28
上传
评论
收藏 5.7MB RAR 举报
温馨提示
4 EntityFrameworkCore与SqlSugar 由于SqlSugar是国内开发者所开发的CURD开源中间件,比EntityFrameworkCore中间件的资源多的多,其内置功能实现也比EntityFrameworkCore中间件多,调用习惯也更加符合国内的开发者,学习曲线也低的多,但是到目前为止SqlSugar(V5.1.3.41)中间件还不支持抽离表及其字段的约束规则定义, 约束规则依然需要通过特性与实体属性成员结合才能实实现表及其字段的约束规则定义,这样实体与表的约束定义形成了紧密的耦合关系,因此在SqlSugar中间件解决这个问题前,本人通过权衡最终选择了EntityFrameworkCore中间件实现实体与表之间的CRUD操作。 按F5执行程序,执行“GetWeatherForecast”Api,即可自动生成数据库及其表。 对以上功能更为具体实现和注释见:221219_002ShopDemo(抽离表及其字段的约束规则定义)。
资源推荐
资源详情
资源评论
收起资源包目录
221219-002ShopDemo(抽离表及其字段的约束规则定义) (167个子文件)
shopdemo.projects.v5.2 1.67MB
shopdemo.metadata.v5.2 288KB
_IsIncrementalBuild 39B
_IsIncrementalBuild 39B
_IsIncrementalBuild 39B
Core.csproj.BuildWithSkipAnalyzers 0B
WebApi.csproj.BuildWithSkipAnalyzers 0B
Data.csproj.BuildWithSkipAnalyzers 0B
WebApi.csproj.AssemblyReference.cache 192KB
Data.csproj.AssemblyReference.cache 110KB
Core.csproj.AssemblyReference.cache 91KB
WebApi.assets.cache 39KB
Data.assets.cache 35KB
project.nuget.cache 10KB
project.nuget.cache 9KB
project.nuget.cache 327B
Core.assets.cache 232B
Core.AssemblyInfoInputs.cache 42B
Core.csproj.CoreCompileInputs.cache 42B
WebApi.genruntimeconfig.cache 42B
WebApi.csproj.CoreCompileInputs.cache 42B
WebApi.AssemblyInfoInputs.cache 42B
Data.AssemblyInfoInputs.cache 42B
Data.csproj.CoreCompileInputs.cache 42B
WebApi.MvcApplicationPartsAssemblyInfo.cache 0B
applicationhost.config 84KB
WebApi.csproj.CopyComplete 0B
Data.csproj.CopyComplete 0B
EFCoreContext.cs 6KB
User.cs 5KB
PermissionRoleBuilder.cs 3KB
UserBuilder.cs 2KB
UserRoleBuilder.cs 2KB
PermissionRole.cs 2KB
UserRole.cs 2KB
PermissionBuilder.cs 2KB
Role.cs 2KB
RoleBuilder.cs 2KB
Permission.cs 2KB
Program.cs 1KB
WebApi.AssemblyInfo.cs 1001B
Core.AssemblyInfo.cs 995B
Data.AssemblyInfo.cs 995B
ILogicDeletedEntity.cs 857B
WebApi.GlobalUsings.g.cs 770B
WebApi.MvcApplicationPartsAssemblyInfo.cs 747B
BaseEntity.cs 698B
WeatherForecastController.cs 575B
Core.GlobalUsings.g.cs 295B
Data.GlobalUsings.g.cs 295B
WeatherForecast.cs 284B
.NETCoreApp,Version=v7.0.AssemblyAttributes.cs 198B
.NETCoreApp,Version=v7.0.AssemblyAttributes.cs 198B
.NETCoreApp,Version=v7.0.AssemblyAttributes.cs 198B
WebApi.csproj 553B
Data.csproj 431B
Core.csproj 217B
Swashbuckle.AspNetCore.SwaggerUI.dll 3.26MB
Microsoft.EntityFrameworkCore.dll 1.98MB
Microsoft.EntityFrameworkCore.Relational.dll 1.75MB
Microsoft.Data.SqlClient.dll 1.55MB
Microsoft.Data.SqlClient.dll 1.47MB
Microsoft.Identity.Client.dll 1.36MB
Microsoft.IdentityModel.Tokens.dll 951KB
Microsoft.Data.SqlClient.SNI.dll 546KB
Microsoft.Data.SqlClient.SNI.dll 491KB
Microsoft.EntityFrameworkCore.SqlServer.dll 474KB
System.Drawing.Common.dll 427KB
Microsoft.Data.SqlClient.SNI.dll 423KB
System.Drawing.Common.dll 409KB
Microsoft.Data.SqlClient.SNI.dll 400KB
System.Configuration.ConfigurationManager.dll 373KB
Azure.Identity.dll 301KB
Microsoft.Data.SqlClient.dll 269KB
Azure.Core.dll 260KB
Microsoft.OpenApi.dll 206KB
System.Drawing.Common.dll 169KB
Microsoft.IdentityModel.Protocols.OpenIdConnect.dll 111KB
System.Security.Permissions.dll 96KB
Swashbuckle.AspNetCore.SwaggerGen.dll 95KB
System.IdentityModel.Tokens.Jwt.dll 87KB
System.Runtime.Caching.dll 84KB
System.Runtime.Caching.dll 82KB
Microsoft.IdentityModel.JsonWebTokens.dll 71KB
Microsoft.AspNetCore.OpenApi.dll 65KB
Microsoft.Identity.Client.Extensions.Msal.dll 62KB
Microsoft.Win32.SystemEvents.dll 51KB
System.Windows.Extensions.dll 41KB
Microsoft.IdentityModel.Protocols.dll 37KB
Microsoft.EntityFrameworkCore.Abstractions.dll 34KB
Microsoft.IdentityModel.Logging.dll 33KB
System.Security.Cryptography.ProtectedData.dll 32KB
Microsoft.Win32.SystemEvents.dll 27KB
System.Windows.Extensions.dll 25KB
Microsoft.SqlServer.Server.dll 23KB
System.Security.Cryptography.ProtectedData.dll 21KB
System.Memory.Data.dll 21KB
Microsoft.IdentityModel.Abstractions.dll 18KB
Swashbuckle.AspNetCore.Swagger.dll 15KB
Microsoft.Bcl.AsyncInterfaces.dll 14KB
共 167 条
- 1
- 2
资源评论
zhoujian_911
- 粉丝: 1192
- 资源: 323
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功