//ctor public UnitOfWorkEF(ApexDBContext context) { if (context == null) { throw new ArgumentNullException("Context was not supplied"); } _context = context; }
public UserRepository(ApexDBContext context) : base(context) { }
public UnitOfWork(ApexDBContext context, IDbConnection connection) { _context = context; _connection = connection; }
public UnitOfWork(ApexDBContext context) { _context = context; }
//ctor public UnitOfWork() { _context = new ApexDBContext(); _connection = new SqlConnection(WebConfigHelper.ApexDbConnectionString); }
public BaseRepository(ApexDBContext dbContext) { _context = dbContext; }
public UserRepository(ApexDBContext context, IDbConnection connection) { _context = context; _connection = connection; }