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