예제 #1
0
 public static IQueryBuilder <TProjection> Project <TSource, TProjection>(
     this IQueryBuilder <TSource> search,
     params Expression <Func <TSource, Projection> >[] expressions) where TSource : ISanityDocument
 {
     return(new QueryBuilder <TProjection>(search, context => search.ApplyProjections(context, expressions)));
 }