public IQueryable<TEntity> GetItems(params string[] paths)
{
var dbSet = _dbSet as IQueryable<TEntity>;
if (paths != null)
foreach (var path in paths)
dbSet = dbSet.Include(path);
return dbSet;
}
调用的时候 _ImemberRepository.GetItems("Member").ToList();出现了错误,Member我写的是一个类 各位长辈给看看怎么回事儿?