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