예제 #1
0
 public DbInitializer(CandidatoContext context)
 {
     _context = context;
     _context.Database.Migrate();
 }
예제 #2
0
 public void Dispose()
 {
     _context.Dispose();
     _context = null;
 }