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)
Parameters
name
stringexpressions
IEnumerable<KeyValuePair<string, LambdaExpression>>
Type Parameters
TSource
TResult
Aggregate<TSource, TResult>(string, IEnumerable<KeyValuePair<string, LambdaExpression>>, Type)
void Aggregate<TSource, TResult>(string name, IEnumerable<KeyValuePair<string, LambdaExpression>> expressions, Type customFactoryType)
Parameters
name
stringexpressions
IEnumerable<KeyValuePair<string, LambdaExpression>>customFactoryType
Type
Type Parameters
TSource
TResult
Collect<TSource>()
void Collect<TSource>()
Type Parameters
TSource
FactQuery<TSource>(Expression<Func<TSource, bool>>[])
void FactQuery<TSource>(Expression<Func<TSource, bool>>[] conditions)
Parameters
conditions
Expression<Func<TSource, bool>>[]
Type Parameters
TSource
From<TSource>(Expression<Func<TSource>>)
void From<TSource>(Expression<Func<TSource>> source)
Parameters
source
Expression<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)
Parameters
keySelector
Expression<Func<TSource, TKey>>elementSelector
Expression<Func<TSource, TElement>>
Type Parameters
TSource
TKey
TElement
OrderBy<TSource, TKey>(Expression<Func<TSource, TKey>>, SortDirection)
void OrderBy<TSource, TKey>(Expression<Func<TSource, TKey>> keySelector, SortDirection sortDirection)
Parameters
keySelector
Expression<Func<TSource, TKey>>sortDirection
SortDirection
Type Parameters
TSource
TKey
SelectMany<TSource, TResult>(Expression<Func<TSource, IEnumerable<TResult>>>)
void SelectMany<TSource, TResult>(Expression<Func<TSource, IEnumerable<TResult>>> selector)
Parameters
selector
Expression<Func<TSource, IEnumerable<TResult>>>
Type Parameters
TSource
TResult
Select<TSource, TResult>(Expression<Func<TSource, TResult>>)
void Select<TSource, TResult>(Expression<Func<TSource, TResult>> selector)
Parameters
selector
Expression<Func<TSource, TResult>>
Type Parameters
TSource
TResult
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)
Parameters
keySelector
Expression<Func<TSource, TKey>>elementSelector
Expression<Func<TSource, TElement>>
Type Parameters
TSource
TKey
TElement
Where<TSource>(Expression<Func<TSource, bool>>[])
void Where<TSource>(Expression<Func<TSource, bool>>[] predicates)
Parameters
predicates
Expression<Func<TSource, bool>>[]
Type Parameters
TSource