public UnitOfWork(DbContext context) { if (context == null) throw new ArgumentNullException("context"); isDisposed = false; Context = context; }
public UnitOfWork() { context = new BOTContext(); }
public UnitOfWork(DbContext context) { this.context = context; }
public RoleRepository(DbContext con) { context = con; }
public FDictionaryDAL(DbContext db, string areaNo) : base(db, areaNo) { }
public UnitOfWork(DbContext context) { Debug.WriteLine("\n\n\nOn DbContext ctor\n\n\n"); Context = context; }
public TWindowAreaDAL(string dbKey) { this.db = Factory.Instance.CreateDbContext(dbKey); }
public UnitOfWork(DbContext context) { Context = context; }
public Repository(DbContext context) { this.context = context; this.dbSet = context.Set <TEntity>(); }
public TestResultRepository(DbContext _context) { this.context = _context; }
public UnitOfWork(DbContext db) { this.db = db; }
/// <summary> /// Initializes a new instance of the class with a /// <see cref="IUnitOfWork" /> implementation. /// </summary> /// <param name="unitOfWork"> The Unit of Work implementation. </param> public Repository(IUnitOfWork unitOfWork) { UnitOfWork = unitOfWork; _dbContext = unitOfWork.Context; _dbSet = unitOfWork.Context.Set <T>(); }
public QuestionRepository(DbContext _context) { this.context = _context; }
public ProfileRepository(DbContext db) { this.context = db; }
public UserRepository(DbContext u) { this.context = u; }
public PhotoRepository(DbContext dc) { this.context = dc; }
public UserRepository(DbContext _context) { this.context = _context; }
public FDictionaryDAL(DbContext db) : base(db) { }
public LikeRepository(DbContext dc) { this.context = dc; }
public TWindowAreaDAL() { this.db = Factory.Instance.CreateDbContext(); }