EFcore连接本地Mysql数据库使用ASP.NET.CORE.API

上传者: EAyayaya | 上传时间: 2024-03-26 20:39:11 | 文件大小: 3.21MB | 文件类型: ZIP
博客链接:https://blog.csdn.net/EAyayaya/article/details/124048491 博客链接:https://blog.csdn.net/EAyayaya/article/details/124048491 博客链接:https://blog.csdn.net/EAyayaya/article/details/124048491 先看博客 先看博客 先看博客 1.实现EFcore连接本地Mysql数据库 2.最新版本的ASP.NET.CORE.Web API 3.实现dbfrist和code 。 4.博客链接:https://blog.csdn.net/EAyayaya/article/details/124048491 5. 不是MVC方式 6.Entity Framework Core Entity Framework Core.Tools Entity Framework Core.SqlServer //这个连接sqlsever需要 pomelo.Entity Framework Core.mysql //这个连接mysql需要

文件下载

资源详情

[{"title":"( 62 个子文件 3.21MB ) EFcore连接本地Mysql数据库使用ASP.NET.CORE.API\n","children":[{"title":".vs","children":[{"title":"EFcore","children":[{"title":"DesignTimeBuild","children":[{"title":".dtbcache.v2 <span style='color:#111;'> 137.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"v17","children":[{"title":".suo <span style='color:#111;'> 41.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"Models","children":[{"title":"Parameter.cs <span style='color:#111;'> 759B </span>","children":null,"spread":false},{"title":"ParameterContext.cs <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false}],"spread":true},{"title":"bin","children":[{"title":"Debug","children":[{"title":"net6.0","children":[{"title":"MySqlConnector.dll <span style='color:#111;'> 590.50KB </span>","children":null,"spread":false},{"title":"Microsoft.EntityFrameworkCore.Design.dll <span style='color:#111;'> 382.39KB </span>","children":null,"spread":false},{"title":"Microsoft.EntityFrameworkCore.Relational.dll <span style='color:#111;'> 1.43MB </span>","children":null,"spread":false},{"title":"Swashbuckle.AspNetCore.SwaggerUI.dll <span style='color:#111;'> 3.55MB </span>","children":null,"spread":false},{"title":"Microsoft.EntityFrameworkCore.Abstractions.dll <span style='color:#111;'> 29.88KB </span>","children":null,"spread":false},{"title":"Pomelo.EntityFrameworkCore.MySql.dll <span style='color:#111;'> 411.50KB </span>","children":null,"spread":false},{"title":"EFcore.runtimeconfig.json <span style='color:#111;'> 416B </span>","children":null,"spread":false},{"title":"Humanizer.dll <span style='color:#111;'> 250.93KB </span>","children":null,"spread":false},{"title":"EFcore.deps.json <span style='color:#111;'> 17.00KB </span>","children":null,"spread":false},{"title":"EFcore.exe <span style='color:#111;'> 146.00KB </span>","children":null,"spread":false},{"title":"Swashbuckle.AspNetCore.Swagger.dll <span style='color:#111;'> 14.50KB </span>","children":null,"spread":false},{"title":"appsettings.Development.json <span style='color:#111;'> 127B </span>","children":null,"spread":false},{"title":"Microsoft.EntityFrameworkCore.dll <span style='color:#111;'> 2.00MB </span>","children":null,"spread":false},{"title":"EFcore.pdb <span style='color:#111;'> 23.62KB </span>","children":null,"spread":false},{"title":"appsettings.json <span style='color:#111;'> 278B </span>","children":null,"spread":false},{"title":"Swashbuckle.AspNetCore.SwaggerGen.dll <span style='color:#111;'> 84.00KB </span>","children":null,"spread":false},{"title":"Microsoft.Extensions.Caching.Memory.dll <span style='color:#111;'> 37.60KB </span>","children":null,"spread":false},{"title":"EFcore.dll <span style='color:#111;'> 24.00KB </span>","children":null,"spread":false},{"title":"Microsoft.OpenApi.dll <span style='color:#111;'> 169.88KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"WeatherForecast.cs <span style='color:#111;'> 284B </span>","children":null,"spread":false},{"title":"EFcore.csproj.user <span style='color:#111;'> 395B </span>","children":null,"spread":false},{"title":"Migrations","children":[{"title":"20220408123743_init.Designer.cs <span style='color:#111;'> 2.43KB </span>","children":null,"spread":false},{"title":"20220408123743_init.cs <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false},{"title":"ParameterContextModelSnapshot.cs <span style='color:#111;'> 2.38KB </span>","children":null,"spread":false}],"spread":true},{"title":"Program.cs <span style='color:#111;'> 866B </span>","children":null,"spread":false},{"title":"EFcore.csproj <span style='color:#111;'> 750B </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"staticwebassets.pack.sentinel <span style='color:#111;'> 50B </span>","children":null,"spread":false},{"title":"EFcore.csproj.nuget.dgspec.json <span style='color:#111;'> 2.66KB </span>","children":null,"spread":false},{"title":"project.assets.json <span style='color:#111;'> 42.21KB </span>","children":null,"spread":false},{"title":"project.nuget.cache <span style='color:#111;'> 4.03KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"net6.0","children":[{"title":"EFcore.AssemblyInfo.cs <span style='color:#111;'> 1001B </span>","children":null,"spread":false},{"title":"EFcore.csproj.CoreCompileInputs.cache <span style='color:#111;'> 42B </span>","children":null,"spread":false},{"title":"EFcore.MvcApplicationPartsAssemblyInfo.cache <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"EFcore.GlobalUsings.g.cs <span style='color:#111;'> 770B </span>","children":null,"spread":false},{"title":"EFcore.csproj.AssemblyReference.cache <span style='color:#111;'> 176.71KB </span>","children":null,"spread":false},{"title":"staticwebassets.build.json <span style='color:#111;'> 273B </span>","children":null,"spread":false},{"title":"EFcore.GeneratedMSBuildEditorConfig.editorconfig <span style='color:#111;'> 742B </span>","children":null,"spread":false},{"title":"EFcore.csproj.BuildWithSkipAnalyzers <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"EFcore.assets.cache <span style='color:#111;'> 11.71KB </span>","children":null,"spread":false},{"title":"ref","children":[{"title":"EFcore.dll <span style='color:#111;'> 10.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"EFcore.csproj.FileListAbsolute.txt <span style='color:#111;'> 2.62KB </span>","children":null,"spread":false},{"title":"staticwebassets","children":null,"spread":false},{"title":"refint","children":[{"title":"EFcore.dll <span style='color:#111;'> 10.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"apphost.exe <span style='color:#111;'> 146.00KB </span>","children":null,"spread":false},{"title":"EFcore.csproj.CopyComplete <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"EFcore.pdb <span style='color:#111;'> 23.62KB </span>","children":null,"spread":false},{"title":"EFcore.genruntimeconfig.cache <span style='color:#111;'> 42B </span>","children":null,"spread":false},{"title":"EFcore.AssemblyInfoInputs.cache <span style='color:#111;'> 42B </span>","children":null,"spread":false},{"title":".NETCoreApp,Version=v6.0.AssemblyAttributes.cs <span style='color:#111;'> 190B </span>","children":null,"spread":false},{"title":"EFcore.dll <span style='color:#111;'> 24.00KB </span>","children":null,"spread":false},{"title":"EFcore.MvcApplicationPartsAssemblyInfo.cs <span style='color:#111;'> 635B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"EFcore.csproj.nuget.g.targets <span style='color:#111;'> 551B </span>","children":null,"spread":false},{"title":"EFcore.csproj.nuget.g.props <span style='color:#111;'> 2.54KB </span>","children":null,"spread":false}],"spread":true},{"title":"Controllers","children":[{"title":"WeatherForecastController.cs <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"ParameterController.cs <span style='color:#111;'> 2.75KB </span>","children":null,"spread":false}],"spread":true},{"title":"EFcore.sln <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"appsettings.Development.json <span style='color:#111;'> 127B </span>","children":null,"spread":false},{"title":"appsettings.json <span style='color:#111;'> 278B </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"launchSettings.json <span style='color:#111;'> 808B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明