예제 #1
0
 public ClassifiedAppDbContext Init()
 {
     return(dbContext ?? (dbContext = new ClassifiedAppDbContext()));
 }
예제 #2
0
 public UnitOfWork()
 {
     _context = new ClassifiedAppDbContext();
 }
예제 #3
0
 public EntityBaseRepository(ClassifiedAppDbContext _context)
 {
     this.dataContext = _context;
 }