diff --git a/samples/IdentitySample.Mvc/Models/IdentityModels.cs b/samples/IdentitySample.Mvc/Models/IdentityModels.cs index 5f867152a7..25ff00b156 100644 --- a/samples/IdentitySample.Mvc/Models/IdentityModels.cs +++ b/samples/IdentitySample.Mvc/Models/IdentityModels.cs @@ -10,7 +10,7 @@ namespace IdentitySample.Models public class ApplicationDbContext : IdentityDbContext { } - public class IdentityDbContextOptions : DbContextOptions + public class IdentityDbContextOptions { public string DefaultAdminUserName { get; set; } diff --git a/test/Microsoft.AspNet.Identity.EntityFramework.InMemory.Test/InMemoryContext.cs b/test/Microsoft.AspNet.Identity.EntityFramework.InMemory.Test/InMemoryContext.cs index 16455fa25a..27e95a8b7a 100644 --- a/test/Microsoft.AspNet.Identity.EntityFramework.InMemory.Test/InMemoryContext.cs +++ b/test/Microsoft.AspNet.Identity.EntityFramework.InMemory.Test/InMemoryContext.cs @@ -24,10 +24,10 @@ namespace Microsoft.AspNet.Identity.EntityFramework.InMemory.Test { public InMemoryContext() { } - protected override void OnConfiguring(DbContextOptions builder) + protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { // Want fresh in memory store for tests always for now - builder.UseInMemoryStore(persist: false); + optionsBuilder.UseInMemoryStore(persist: false); } } } \ No newline at end of file