C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\appsettings.Development.json
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\appsettings.json
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\WebApi.exe
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\WebApi.deps.json
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\WebApi.runtimeconfig.json
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\WebApi.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\WebApi.pdb
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Azure.Core.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Azure.Identity.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\linq2db.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.AspNetCore.JsonPatch.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.AspNetCore.Mvc.NewtonsoftJson.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.AspNetCore.OpenApi.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.Bcl.AsyncInterfaces.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.Data.SqlClient.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.EntityFrameworkCore.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.EntityFrameworkCore.Abstractions.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.EntityFrameworkCore.Relational.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.EntityFrameworkCore.SqlServer.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.Identity.Client.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.Identity.Client.Extensions.Msal.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.IdentityModel.Abstractions.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.IdentityModel.JsonWebTokens.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.IdentityModel.Logging.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.IdentityModel.Protocols.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.IdentityModel.Protocols.OpenIdConnect.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.IdentityModel.Tokens.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.OpenApi.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.SqlServer.Server.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.Win32.SystemEvents.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\MySqlConnector.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Newtonsoft.Json.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Newtonsoft.Json.Bson.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Pomelo.EntityFrameworkCore.MySql.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Swashbuckle.AspNetCore.Swagger.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Swashbuckle.AspNetCore.SwaggerGen.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Swashbuckle.AspNetCore.SwaggerUI.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\System.Configuration.ConfigurationManager.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\System.Drawing.Common.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\System.IdentityModel.Tokens.Jwt.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\System.Memory.Data.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\System.Runtime.Caching.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\System.Security.Cryptography.ProtectedData.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\System.Security.Permissions.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\System.Windows.Extensions.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\runtimes\unix\lib\netcoreapp3.1\Microsoft.Data.SqlClient.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\runtimes\win\lib\netcoreapp3.1\Microsoft.Data.SqlClient.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\runtimes\win-arm\native\Microsoft.Data.SqlClient.SNI.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\runtimes\win-arm64\native\Microsoft.Data.SqlClient.SNI.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\runtimes\win-x64\native\Microsoft.Data.SqlClient.SNI.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\runtimes\win-x86\native\Microsoft.Data.SqlClient.SNI.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\runtimes\win\lib\netcoreapp3.0\Microsoft.Win32.SystemEvents.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\runtimes\unix\lib\netcoreapp3.0\System.Drawing.Common.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\runtimes\win\lib\netcoreapp3.0\System.Drawing.Common.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\runtimes\win\lib\netstandard2.0\System.Runtime.Caching.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\runtimes\win\lib\netstandard2.0\System.Security.Cryptography.ProtectedData.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.Ent
没有合适的资源?快使用搜索试试~ 我知道了~
230117-013shopDemo(抽离“EntityFrameworkCore”中间件实例的依赖注入)
共283个文件
dll:85个
cs:59个
cache:30个
需积分: 8 0 下载量 170 浏览量
2023-01-17
17:10:31
上传
评论
收藏 8.7MB RAR 举报
温馨提示
public static void AddEFCoreContext(this IServiceCollection services) { //从单例实例的字典成员实例中获取当前程序所有配置相关数据。 AppSettings _appSettings = Singleton<AppSettings>.Instance; //从应用配置类实例中获取数据库连接相关数据。 DataConfig _dataConfig = _appSettings.Get<DataConfig>(); //说明:如果想要“EntityFrameworkCore”中间件支持多数据库软件,则把选择条件中的所有中间件都注入到依赖注入到.Net(Core)框架内置容器即可, //选择条件来限定当前程序只支持所设定的1个数据库软件,当然“DataConfig”类与“appsettings.json”文件也必须为支持多数据库软件进行重构。
资源推荐
资源详情
资源评论
收起资源包目录
230117-013shopDemo(抽离“EntityFrameworkCore”中间件实例的依赖注入) (283个子文件)
shopdemo.projects.v5.2 9.16MB
shopdemo.metadata.v5.2 722KB
_IsIncrementalBuild 41B
_IsIncrementalBuild 41B
_IsIncrementalBuild 39B
_IsIncrementalBuild 39B
_IsIncrementalBuild 39B
_IsIncrementalBuild 39B
Core.csproj.BuildWithSkipAnalyzers 0B
WebApi.csproj.BuildWithSkipAnalyzers 0B
Framework.csproj.BuildWithSkipAnalyzers 0B
Data.csproj.BuildWithSkipAnalyzers 0B
WebApi.csproj.AssemblyReference.cache 221KB
Framework.csproj.AssemblyReference.cache 211KB
Data.csproj.AssemblyReference.cache 205KB
Core.csproj.AssemblyReference.cache 177KB
Data.csproj.AssemblyReference.cache 111KB
Core.csproj.AssemblyReference.cache 91KB
WebApi.assets.cache 45KB
Framework.assets.cache 41KB
Data.assets.cache 41KB
Data.assets.cache 35KB
project.nuget.cache 11KB
project.nuget.cache 10KB
project.nuget.cache 10KB
Core.assets.cache 3KB
project.nuget.cache 995B
Core.assets.cache 232B
Core.csproj.CoreCompileInputs.cache 42B
Core.AssemblyInfoInputs.cache 42B
Core.AssemblyInfoInputs.cache 42B
Core.csproj.CoreCompileInputs.cache 42B
WebApi.csproj.CoreCompileInputs.cache 42B
WebApi.genruntimeconfig.cache 42B
WebApi.AssemblyInfoInputs.cache 42B
Framework.AssemblyInfoInputs.cache 42B
Framework.csproj.CoreCompileInputs.cache 42B
Data.AssemblyInfoInputs.cache 42B
Data.csproj.CoreCompileInputs.cache 42B
Data.AssemblyInfoInputs.cache 42B
Data.csproj.CoreCompileInputs.cache 42B
WebApi.MvcApplicationPartsAssemblyInfo.cache 0B
applicationhost.config 84KB
WebApi.csproj.CopyComplete 0B
Framework.csproj.CopyComplete 0B
Data.csproj.CopyComplete 0B
Data.csproj.CopyComplete 0B
NopFileProvider.cs 44KB
INopFileProvider.cs 29KB
CommonHelper.cs 22KB
AppDomainTypeFinder.cs 22KB
SecureRandomNumberGenerator.cs 8KB
QueryableExtension.cs 8KB
ServiceCollectionExtensions.cs 7KB
ExpressionExtension.cs 7KB
EFCoreContext.cs 6KB
DataSettingsManager.cs 5KB
WebAppTypeFinder.cs 5KB
AppSettingsHelper.cs 5KB
DataConfig.cs 5KB
AsyncIQueryableExtensions.cs 5KB
User.cs 5KB
PagedList.cs 4KB
NopException.cs 4KB
AppSettings.cs 4KB
BaseSingleton.cs 4KB
ITypeFinder.cs 4KB
ParameterRebinder.cs 4KB
Singleton.cs 3KB
EnumerableExtension.cs 3KB
PermissionRoleBuilder.cs 3KB
IPagedList.cs 2KB
UserBuilder.cs 2KB
UserRoleBuilder.cs 2KB
PermissionRole.cs 2KB
UserRole.cs 2KB
MulDatabaseTestController.cs 2KB
DataProviderType.cs 2KB
Role.cs 2KB
MessageModel.cs 2KB
RoleBuilder.cs 2KB
IConfig.cs 2KB
PermissionBuilder.cs 2KB
Permission.cs 2KB
Program.cs 1KB
Framework.AssemblyInfo.cs 1010B
WebApi.AssemblyInfo.cs 1001B
Core.AssemblyInfo.cs 997B
Data.AssemblyInfo.cs 997B
Core.AssemblyInfo.cs 995B
Data.AssemblyInfo.cs 995B
ILogicDeletedEntity.cs 857B
WebApi.GlobalUsings.g.cs 770B
WebApi.MvcApplicationPartsAssemblyInfo.cs 747B
BaseEntity.cs 698B
Core.GlobalUsings.g.cs 295B
Core.GlobalUsings.g.cs 295B
Framework.GlobalUsings.g.cs 295B
Data.GlobalUsings.g.cs 295B
Data.GlobalUsings.g.cs 295B
共 283 条
- 1
- 2
- 3
资源评论
zhoujian_911
- 粉丝: 1192
- 资源: 323
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于python编写的Keras深度学习框架开发,利用卷积神经网络CNN,快速识别图片并进行分类
- 最全空间计量实证方法(空间杜宾模型和检验以及结果解释文档).txt
- 5uonly.apk
- 蓝桥杯Python组的历年真题
- 2023-04-06-项目笔记 - 第一百十九阶段 - 4.4.2.117全局变量的作用域-117 -2024.04.30
- 2023-04-06-项目笔记 - 第一百十九阶段 - 4.4.2.117全局变量的作用域-117 -2024.04.30
- 前端开发技术实验报告:内含4四实验&实验报告
- Highlight Plus v20.0.1
- 林周瑜-论文.docx
- 基于MIC+NE555光敏电阻的声光控电路Multisim仿真原理图
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功