public DepartmentRepository(KingDBContext dbContent) : base(dbContent) { }
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) { }