public RoleRepository(ZYDBContext dbcontext) : base(dbcontext) { }
/// <summary> /// 通过构造函数注入得到数据上下文对象实例 /// </summary> /// <param name="dbContext"></param> public ZYRepositoryBase(ZYDBContext dbContext) { _dbContext = dbContext; }
public UserRepository(ZYDBContext dbcontext) : base(dbcontext) { }
public DepartmentRepository(ZYDBContext dbcontext) : base(dbcontext) { }
public MenuRepository(ZYDBContext dbcontext) : base(dbcontext) { }