public UnitOfWorkFactory(IGoodWillEntitiesContext context) { _context = context; }
public UsersRepository(IGoodWillEntitiesContext context) : base(context) { _context = context; _dbSet = context.Set <Users>(); }
public FakeGenericRepository(IGoodWillEntitiesContext context) : base(context) { }
public UnitOfWork(GoodWillDbContext context) { _context = context; }
public UnitOfWork(IGoodWillEntitiesContext context) { _context = context; _provider = new RepositoryProvider(context, new RepositoryFactory()); }
public UnitOfWork() { _context = new GoodWillDbContext(); _provider = new RepositoryProvider(_context, new RepositoryFactory()); }
public RepositoryProvider(IGoodWillEntitiesContext context, RepositoryFactory factory) { _context = context; _factory = factory; _repositories = new Dictionary <Type, object>(); }
public GenericRepository(IGoodWillEntitiesContext context) { this._context = context; _entities = context.Set <T>(); }