Interface IQueryBuilder
Internal builder for queries.
public interface IQueryBuilder
Methods
Aggregate<TSource, TResult>(string, IEnumerable<KeyValuePair<string, LambdaExpression>>)
void Aggregate<TSource, TResult>(string name, IEnumerable<KeyValuePair<string, LambdaExpression>> expressions) where TSource : notnull
Parameters
namestringexpressionsIEnumerable<KeyValuePair<string, LambdaExpression>>
Type Parameters
TSourceTResult
Aggregate<TSource, TResult>(string, IEnumerable<KeyValuePair<string, LambdaExpression>>, Type)
void Aggregate<TSource, TResult>(string name, IEnumerable<KeyValuePair<string, LambdaExpression>> expressions, Type customFactoryType) where TSource : notnull
Parameters
namestringexpressionsIEnumerable<KeyValuePair<string, LambdaExpression>>customFactoryTypeType
Type Parameters
TSourceTResult
Collect<TSource>()
void Collect<TSource>() where TSource : notnull
Type Parameters
TSource
FactQuery<TSource>(Expression<Func<TSource, bool>>[])
void FactQuery<TSource>(Expression<Func<TSource, bool>>[] conditions) where TSource : notnull
Parameters
conditionsExpression<Func<TSource, bool>>[]
Type Parameters
TSource
From<TSource>(Expression<Func<TSource>>)
void From<TSource>(Expression<Func<TSource>> source) where TSource : notnull
Parameters
sourceExpression<Func<TSource>>
Type Parameters
TSource
GroupBy<TSource, TKey, TElement>(Expression<Func<TSource, TKey>>, Expression<Func<TSource, TElement>>)
void GroupBy<TSource, TKey, TElement>(Expression<Func<TSource, TKey>> keySelector, Expression<Func<TSource, TElement>> elementSelector) where TSource : notnull where TKey : notnull where TElement : notnull
Parameters
keySelectorExpression<Func<TSource, TKey>>elementSelectorExpression<Func<TSource, TElement>>
Type Parameters
TSourceTKeyTElement
OrderBy<TSource, TKey>(Expression<Func<TSource, TKey>>, SortDirection)
void OrderBy<TSource, TKey>(Expression<Func<TSource, TKey>> keySelector, SortDirection sortDirection) where TSource : notnull
Parameters
keySelectorExpression<Func<TSource, TKey>>sortDirectionSortDirection
Type Parameters
TSourceTKey
SelectMany<TSource, TResult>(Expression<Func<TSource, IEnumerable<TResult>>>)
void SelectMany<TSource, TResult>(Expression<Func<TSource, IEnumerable<TResult>>> selector) where TSource : notnull
Parameters
selectorExpression<Func<TSource, IEnumerable<TResult>>>
Type Parameters
TSourceTResult
Select<TSource, TResult>(Expression<Func<TSource, TResult>>)
void Select<TSource, TResult>(Expression<Func<TSource, TResult>> selector) where TSource : notnull
Parameters
selectorExpression<Func<TSource, TResult>>
Type Parameters
TSourceTResult
ToLookup<TSource, TKey, TElement>(Expression<Func<TSource, TKey>>, Expression<Func<TSource, TElement>>)
void ToLookup<TSource, TKey, TElement>(Expression<Func<TSource, TKey>> keySelector, Expression<Func<TSource, TElement>> elementSelector) where TSource : notnull where TElement : notnull
Parameters
keySelectorExpression<Func<TSource, TKey>>elementSelectorExpression<Func<TSource, TElement>>
Type Parameters
TSourceTKeyTElement
Where<TSource>(Expression<Func<TSource, bool>>[])
void Where<TSource>(Expression<Func<TSource, bool>>[] predicates) where TSource : notnull
Parameters
predicatesExpression<Func<TSource, bool>>[]
Type Parameters
TSource