External database connected
This commit is contained in:
@ -9,6 +9,6 @@ namespace Vidly.Models
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
|
||||
public bool IsSubscribedToNewsLetter { get; set; }
|
||||
}
|
||||
}
|
||||
@ -23,7 +23,8 @@ namespace Vidly.Models
|
||||
public DbSet<Customer> Customers { get; set; }
|
||||
|
||||
public ApplicationDbContext()
|
||||
: base("DefaultConnection", throwIfV1Schema: false)
|
||||
// : base("DefaultConnection", throwIfV1Schema: false)
|
||||
: base("Sqlsvr", throwIfV1Schema: false)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user