/// <summary> /// 获取实体列表。建议:如需使用Include和ThenInclude请重载此方法。 /// </summary> public virtual async Task <List <T> > GetAsync(Expression <Func <T, bool> > @where = null) { return(await DbContext.GetByCompileQueryAsync(where)); }