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