public GenericRepository(EntityCoreContext dbContext)
 {
     _dbContext = dbContext;
 }
Beispiel #2
0
 public ContentTagMapRepository(EntityCoreContext database) : base(database)
 {
     _database = database;
 }
 public AdvertisementRepository(EntityCoreContext database)
     : base(database)
 {
     _database = database;
 }
 public AccountRoleMapRepository(EntityCoreContext database)
     : base(database)
 {
     _database = database;
 }
Beispiel #5
0
 public SubscribeRepository(EntityCoreContext database)
     : base(database)
 {
     _database = database;
 }
Beispiel #6
0
 public CustomerRepository(EntityCoreContext database)
     : base(database)
 {
     _database = database;
 }
 /// <summary>
 /// Constructs database context and dbSet
 /// based on entity type
 /// </summary>
 /// <param name="context"></param>
 public EntityGenericRepository(EntityCoreContext context)
 {
     this.context = context;
     dbSet        = context.Set <TEntity>();
 }
Beispiel #8
0
 public AuthorRepository(EntityCoreContext database)
     : base(database)
 {
     _database = database;
 }
 public RoleRepository(EntityCoreContext database)
     : base(database)
 {
     _database = database;
 }
 public CategoryRepository(EntityCoreContext database) : base(database)
 {
     _database = database;
 }
 public SystemParameterRepository(EntityCoreContext database) : base(database)
 {
     _database = database;
 }
Beispiel #12
0
 public CommentRepository(EntityCoreContext database) : base(database)
 {
     _database = database;
 }
 public CustomerRepository(EntityCoreContext context)
     : base(context)
 {
     _context = context;
 }