Пример #1
0
 public RoleRepository(ZYDBContext dbcontext) : base(dbcontext)
 {
 }
Пример #2
0
 /// <summary>
 /// 通过构造函数注入得到数据上下文对象实例
 /// </summary>
 /// <param name="dbContext"></param>
 public ZYRepositoryBase(ZYDBContext dbContext)
 {
     _dbContext = dbContext;
 }
Пример #3
0
 public UserRepository(ZYDBContext dbcontext) : base(dbcontext)
 {
 }
 public DepartmentRepository(ZYDBContext dbcontext) : base(dbcontext)
 {
 }
Пример #5
0
 public MenuRepository(ZYDBContext dbcontext) : base(dbcontext)
 {
 }