Example #1
0
 public IUnitOfWorkAsync Start(IRepositoryContextAsync context)
 {
     return(new EfUnitOfWork(context));
 }
Example #2
0
 public EfUnitOfWork(IRepositoryContextAsync context)
 {
     _context   = context;
     _efContext = _context as EfContext;
 }
 public Repository(IRepositoryContextAsync context)
 {
     _context   = context;
     _dbContext = context as EfContext;
 }