React to EF changes
This commit is contained in:
parent
33a673cd35
commit
15fa458362
|
|
@ -28,10 +28,5 @@ namespace Microsoft.AspNet.Diagnostics.Entity.Tests
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
public DbSet<Blog> Blogs { get; set; }
|
public DbSet<Blog> Blogs { get; set; }
|
||||||
|
|
||||||
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
|
||||||
{
|
|
||||||
modelBuilder.Entity<Blog>().Property(e => e.BlogId).ForSqlServer().UseIdentity();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue