public static List <T> ToListWithInclude <T>(this IQueryable <T> queryable) { var linqWith = new LinqWithInclude <T>(queryable); return(linqWith.ToList()); }
public static T[] ToArrayWithInclude <T>(this IQueryable <T> queryable) { var linqWith = new LinqWithInclude <T>(queryable); return(linqWith.ToArray()); }
public static async Task <T[]> ToArrayWithIncludeAsync <T>(this IQueryable <T> queryable) { var linqWith = new LinqWithInclude <T>(queryable); return(await linqWith.ToArrayAsync()); }
public static async Task <List <T> > ToListWithIncludeAsync <T>(this IQueryable <T> queryable) { var linqWith = new LinqWithInclude <T>(queryable); return(await linqWith.ToListAsync()); }