Reacting to EF class renaming.
This commit is contained in:
parent
cad71fd030
commit
bb427ee393
|
|
@ -24,7 +24,7 @@ namespace MusicStore.Models
|
||||||
public DbSet<CartItem> CartItems { get; set; }
|
public DbSet<CartItem> CartItems { get; set; }
|
||||||
public DbSet<OrderDetail> OrderDetails { get; set; }
|
public DbSet<OrderDetail> OrderDetails { get; set; }
|
||||||
|
|
||||||
protected override void OnConfiguring(EntityConfigurationBuilder builder)
|
protected override void OnConfiguring(DbContextOptions builder)
|
||||||
{
|
{
|
||||||
#if NET45
|
#if NET45
|
||||||
builder.SqlServerConnectionString(_configuration.Get("Data:DefaultConnection:ConnectionString"));
|
builder.SqlServerConnectionString(_configuration.Get("Data:DefaultConnection:ConnectionString"));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue