Table of Contents

Class QueryBatch.ResultGenerator<T, TTree>

Namespace
The.Entities
Assembly
Instagile.dll
public sealed class QueryBatch.ResultGenerator<T, TTree> where TTree : IRelationshipTree<TTree>

Type Parameters

T
TTree
Inheritance
QueryBatch.ResultGenerator<T, TTree>
Inherited Members

Methods

All(Expression<Func<T, bool>>)

public QueryBatch.Result<bool> All(Expression<Func<T, bool>> predicate)

Parameters

predicate Expression<Func<T, bool>>

Returns

QueryBatch.Result<bool>

Any()

public QueryBatch.Result<bool> Any()

Returns

QueryBatch.Result<bool>

Any(Expression<Func<T, bool>>)

public QueryBatch.Result<bool> Any(Expression<Func<T, bool>> predicate)

Parameters

predicate Expression<Func<T, bool>>

Returns

QueryBatch.Result<bool>

Count()

public QueryBatch.Result<int> Count()

Returns

QueryBatch.Result<int>

Count(Expression<Func<T, bool>>)

public QueryBatch.Result<int> Count(Expression<Func<T, bool>> predicate)

Parameters

predicate Expression<Func<T, bool>>

Returns

QueryBatch.Result<int>

First()

public QueryBatch.Result<T> First()

Returns

QueryBatch.Result<T>

First(Expression<Func<T, bool>>)

public QueryBatch.Result<T> First(Expression<Func<T, bool>> predicate)

Parameters

predicate Expression<Func<T, bool>>

Returns

QueryBatch.Result<T>

FirstOrDefault()

public QueryBatch.Result<T?> FirstOrDefault()

Returns

QueryBatch.Result<T>

FirstOrDefault(Expression<Func<T, bool>>)

public QueryBatch.Result<T?> FirstOrDefault(Expression<Func<T, bool>> predicate)

Parameters

predicate Expression<Func<T, bool>>

Returns

QueryBatch.Result<T>

Single()

public QueryBatch.Result<T> Single()

Returns

QueryBatch.Result<T>

Single(Expression<Func<T, bool>>)

public QueryBatch.Result<T> Single(Expression<Func<T, bool>> predicate)

Parameters

predicate Expression<Func<T, bool>>

Returns

QueryBatch.Result<T>

SingleOrDefault()

public QueryBatch.Result<T?> SingleOrDefault()

Returns

QueryBatch.Result<T>

SingleOrDefault(Expression<Func<T, bool>>)

public QueryBatch.Result<T?> SingleOrDefault(Expression<Func<T, bool>> predicate)

Parameters

predicate Expression<Func<T, bool>>

Returns

QueryBatch.Result<T>

Sum()

public QueryBatch.Result<T> Sum()

Returns

QueryBatch.Result<T>

Sum<U>(Expression<Func<T, U>>)

public QueryBatch.Result<U> Sum<U>(Expression<Func<T, U>> selector)

Parameters

selector Expression<Func<T, U>>

Returns

QueryBatch.Result<U>

Type Parameters

U

ToIDPairs(RelationshipInfo)

public QueryBatch.Result<RelationshipPairs> ToIDPairs(RelationshipInfo relationshipInfo)

Parameters

relationshipInfo RelationshipInfo

Returns

QueryBatch.Result<RelationshipPairs>

ToList()

public QueryBatch.Result<List<T>> ToList()

Returns

QueryBatch.Result<List<T>>

ToLookup<U>(U)

public QueryBatch.Result<ILookup<U, T>> ToLookup<U>(U element)

Parameters

element U

Returns

QueryBatch.Result<ILookup<U, T>>

Type Parameters

U