我已将我的.net5 ef7项目更新为rc-1,但它已经打破了我的项目相当多我相信我从.7升级了,我似乎找不到特别针对EF7所做的更改的文档。例如
using ComicEndpoints.Repository;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Newtonsoft.Json;
services.AddOptions().AddEntityFramework()
.AddDbContext<DB_56875_Context>();
似乎不再有效,我找不到另类选择。也许我错过了一些包裹,但我无法弄清楚哪一个。我的Project.json依赖项是
"dependencies": {
"Microsoft.AspNet.Mvc": "6.0.0-rc1-final",
"Microsoft.AspNet.StaticFiles": "1.0.0-rc1-final",
"EntityFramework.SqlServer.Design": "7.0.0-beta8",
"EntityFramework.Commands": "7.0.0-rc1-final",
"Newtonsoft.Json": "8.0.1-beta2",
"EntityFramework.Core": "7.0.0-rc1-final",
"Microsoft.AspNet.Server.Kestrel": "1.0.0-rc1-final",
"Microsoft.AspNet.IISPlatformHandler": "1.0.0-rc1-final",
"EntityFramework.MicrosoftSqlServer": "7.0.0-rc1-final",
"Microsoft.Extensions.Configuration.Json": "1.0.0-rc1-final",
"Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0-rc1-final"
},
答案 0 :(得分:0)
ASP.NET 5 RC1 Release notes on GitHub和ASP.NET Announcements repo一样好。
对于更改的特定API,没有特定说明。这仍然是预先发布的,所以文档很轻,我们还没有制作变更说明。
也就是说,EF7文档现在托管在docs.efproject.net