Method Densify
Densify<TSource>(IQueryable<TSource>, Expression<Func<TSource, object>>, DensifyRange, IEnumerable<Expression<Func<TSource, object>>>)
Adds a $densify stage to the LINQ pipeline.
public static IQueryable<TSource> Densify<TSource>(this IQueryable<TSource> source, Expression<Func<TSource, object>> field, DensifyRange range, IEnumerable<Expression<Func<TSource, object>>> partitionByFields = null)
Parameters
sourceIQueryable<TSource>A sequence of values.
fieldExpression<Func<TSource, object>>The field.
rangeDensifyRangeThe range.
partitionByFieldsIEnumerable<Expression<Func<TSource, object>>>The partition by fields.
Returns
- IQueryable<TSource>
The densified sequence of values.
Type Parameters
TSourceThe type of the elements of
source.
Densify<TSource>(IQueryable<TSource>, Expression<Func<TSource, object>>, DensifyRange, params Expression<Func<TSource, object>>[])
Adds a $densify stage to the LINQ pipeline.
public static IQueryable<TSource> Densify<TSource>(this IQueryable<TSource> source, Expression<Func<TSource, object>> field, DensifyRange range, params Expression<Func<TSource, object>>[] partitionByFields)
Parameters
sourceIQueryable<TSource>A sequence of values.
fieldExpression<Func<TSource, object>>The field.
rangeDensifyRangeThe range.
partitionByFieldsExpression<Func<TSource, object>>[]The partition by fields.
Returns
- IQueryable<TSource>
The densified sequence of values.
Type Parameters
TSourceThe type of the elements of
source.