public DepartmentRepository(MVCCOREDbContext dbcontext) : base(dbcontext)
 {
 }
Exemple #2
0
 public RoleRepository(MVCCOREDbContext dbcontext) : base(dbcontext)
 {
 }
 public MenuRepository(MVCCOREDbContext dbcontext) : base(dbcontext)
 {
 }
 public UserRepository(MVCCOREDbContext dbcontext) : base(dbcontext)
 {
 }
Exemple #5
0
 /// <summary>
 /// 通过构造函数注入得到数据上下文对象实例
 /// </summary>
 /// <param name="dbContext"></param>
 public RepositoryBase(MVCCOREDbContext dbContext)
 {
     _dbContext = dbContext;
 }
Exemple #6
0
 public MVCCoreRepositoryBase(MVCCOREDbContext dbContext) : base(dbContext)
 {
 }