示例#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;
 }