Esempio n. 1
0
 public EmailSmsRepository()
 {
     this.dbContext = new CTMEntities();
     dbContext.Configuration.LazyLoadingEnabled = false;
 }
Esempio n. 2
0
 public SiteRepository()
 {
     this.istudyobject = new AllRepository <Study>();
     this.dbContext    = new CTMEntities();
     dbContext.Configuration.LazyLoadingEnabled = false;
 }
Esempio n. 3
0
 public AllRepository()
 {
     _context = new CTMEntities();
     dbEntity = _context.Set <T>();
 }