Changes to reflect API renaming in EF.
This commit is contained in:
parent
31f76b8d58
commit
b623f725ba
|
|
@ -49,7 +49,7 @@ namespace Microsoft.AspNet.Identity.Entity
|
|||
|
||||
public IdentityContext() { }
|
||||
|
||||
protected override void OnConfiguring(EntityConfigurationBuilder builder)
|
||||
protected override void OnConfiguring(DbContextOptions builder)
|
||||
{
|
||||
//#if NET45
|
||||
// builder.SqlServerConnectionString(@"Server=(localdb)\v11.0;Database=IdentityDb3;Trusted_Connection=True;");
|
||||
|
|
|
|||
|
|
@ -237,7 +237,7 @@ namespace Microsoft.AspNet.Identity.Entity.Test
|
|||
{
|
||||
public DbSet<Artist> Artists { get; set; }
|
||||
|
||||
protected override void OnConfiguring(EntityConfigurationBuilder builder)
|
||||
protected override void OnConfiguring(DbContextOptions builder)
|
||||
{
|
||||
builder.UseInMemoryStore();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue