var querybase = this.GetAll( _ => _.PlanoServico, _ => _.Escola ); public virtual IQueryable<T> GetAll(params Expression<Func<T, object>>[] includes) { IQueryable<T> query = ctx.Set<T>(); return includes.Aggregate(query, (current, include) => current.Include(include)).AsNoTracking(); }
float
real
double
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)