示例#1
0
 public Repository(TestContext context)
 {
     Context = context;
 }
示例#2
0
 public UnitOfWork(TestContext context)
 {
     _context = context;
     _transaction = _context.Database.BeginTransaction();
     _isTransactionActive = true;
 }