* Fixing missed changes in EF reaction
* Remove npm install warning. * Target minimal tfm in Diagnostics.Abstractions
This commit is contained in:
parent
526e5c8032
commit
f1d588bb54
|
|
@ -19,13 +19,12 @@
|
|||
"xmlDoc": true
|
||||
},
|
||||
"frameworks": {
|
||||
"net451": { },
|
||||
"netstandard1.3": {
|
||||
"netstandard1.0": {
|
||||
"dependencies": {
|
||||
"System.Resources.ResourceManager": "4.0.1-*"
|
||||
},
|
||||
"imports": [
|
||||
"dotnet5.4"
|
||||
"dotnet5.1"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
"name": "DiagnosticsPages",
|
||||
"version": "0.0.0",
|
||||
"description": "",
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"grunt": "~0.4.4",
|
||||
"grunt-cli": "~0.1.13",
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@
|
|||
"Microsoft.NETCore.Platforms": "1.0.1-*"
|
||||
},
|
||||
"frameworks": {
|
||||
"dnx451": {},
|
||||
"netstandardapp1.5": {
|
||||
"dependencies": {
|
||||
"System.Console": "4.0.0-*"
|
||||
|
|
|
|||
|
|
@ -267,7 +267,7 @@ namespace Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.Tests
|
|||
})
|
||||
.ConfigureServices(services =>
|
||||
{
|
||||
services.AddAddEntityFrameworkSqlServer();
|
||||
services.AddEntityFrameworkSqlServer();
|
||||
services.AddScoped<BloggingContextWithMigrations>();
|
||||
|
||||
var optionsBuilder = new DbContextOptionsBuilder();
|
||||
|
|
@ -303,7 +303,7 @@ namespace Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.Tests
|
|||
.ConfigureServices(
|
||||
services =>
|
||||
{
|
||||
services.AddEntityFramework().AddSqlServer();
|
||||
services.AddEntityFramework().AddEntityFrameworkSqlServer();
|
||||
var optionsBuilder = new DbContextOptionsBuilder();
|
||||
if (!PlatformHelper.IsMono)
|
||||
{
|
||||
|
|
@ -426,7 +426,7 @@ namespace Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.Tests
|
|||
.ConfigureServices(services =>
|
||||
{
|
||||
services.AddEntityFramework()
|
||||
.AddSqlServer();
|
||||
.AddEntityFrameworkSqlServer();
|
||||
|
||||
services.AddScoped<TContext>();
|
||||
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ namespace Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.Tests
|
|||
})
|
||||
.ConfigureServices(services =>
|
||||
{
|
||||
services.AddEntityFramework().AddSqlServer();
|
||||
services.AddEntityFramework().AddEntityFrameworkSqlServer();
|
||||
services.AddScoped<BloggingContextWithMigrations>();
|
||||
services.AddSingleton(optionsBuilder.Options);
|
||||
});
|
||||
|
|
@ -171,7 +171,7 @@ namespace Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.Tests
|
|||
{
|
||||
var builder = new WebHostBuilder()
|
||||
.Configure(app => app.UseMigrationsEndPoint())
|
||||
.ConfigureServices(services => services.AddEntityFramework().AddSqlServer());
|
||||
.ConfigureServices(services => services.AddEntityFramework().AddEntityFrameworkSqlServer());
|
||||
var server = new TestServer(builder);
|
||||
|
||||
var formData = new FormUrlEncodedContent(new List<KeyValuePair<string, string>>
|
||||
|
|
@ -200,7 +200,7 @@ namespace Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.Tests
|
|||
.Configure(app => app.UseMigrationsEndPoint())
|
||||
.ConfigureServices(services =>
|
||||
{
|
||||
services.AddEntityFramework().AddSqlServer();
|
||||
services.AddEntityFramework().AddEntityFrameworkSqlServer();
|
||||
services.AddScoped<BloggingContextWithSnapshotThatThrows>();
|
||||
services.AddSingleton(optionsBuilder.Options);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue