Esempio n. 1
0
 public static void Initialize(HarrisDbContext context) // initialize the database
 {
     context.Database.EnsureCreated();                  // make sure the database is built when system is launched
 }
Esempio n. 2
0
 public static void Initialize(HarrisDbContext context)
 {
     context.Database.EnsureCreated();
 }
Esempio n. 3
0
 public static void Intialize(HarrisDbContext context)
 {
     //Making sure the database was created correctly with the right context
     context.Database.EnsureCreated();
 }