public static IQueryable <TEntity> MultipleInclude <TEntity>(this IQueryable <TEntity> Query, params Expression <Func <TEntity, object> >[] Includes) where TEntity : class, IEntity, new() { if (Includes != null) { Query = Includes.Aggregate(Query, (current, include) => current.Include(include)); } return(Query); }