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