Condividi tramite


QueryableMethods Classe

Definizione

Classe che fornisce metadati di reflection per i metodi LINQ traducibili.

public static class QueryableMethods
type QueryableMethods = class
Public Class QueryableMethods
Ereditarietà
QueryableMethods

Commenti

Per altre informazioni e esempi, vedere Implementazione di provider di database e estensioni e come funzionano le query EF Core .

Proprietà

All

Oggetto MethodInfo per All<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

AnyWithoutPredicate

Oggetto MethodInfo per Any<TSource>(IQueryable<TSource>)

AnyWithPredicate

Oggetto MethodInfo per Any<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

AsQueryable

Oggetto MethodInfo per AsQueryable<TElement>(IEnumerable<TElement>)

Cast

Oggetto MethodInfo per Cast<TResult>(IQueryable)

Concat

Oggetto MethodInfo per Concat<TSource>(IQueryable<TSource>, IEnumerable<TSource>)

Contains

Oggetto MethodInfo per Contains<TSource>(IQueryable<TSource>, TSource)

CountWithoutPredicate

Oggetto MethodInfo per Count<TSource>(IQueryable<TSource>)

CountWithPredicate

Oggetto MethodInfo per Count<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

DefaultIfEmptyWithArgument

Oggetto MethodInfo per DefaultIfEmpty<TSource>(IQueryable<TSource>, TSource)

DefaultIfEmptyWithoutArgument

Oggetto MethodInfo per DefaultIfEmpty<TSource>(IQueryable<TSource>)

Distinct

Oggetto MethodInfo per Distinct<TSource>(IQueryable<TSource>)

ElementAt

Oggetto MethodInfo per ElementAt<TSource>(IQueryable<TSource>, Int32)

ElementAtOrDefault

Oggetto MethodInfo per ElementAtOrDefault<TSource>(IQueryable<TSource>, Int32)

Except

Oggetto MethodInfo per Except<TSource>(IQueryable<TSource>, IEnumerable<TSource>)

FirstOrDefaultWithoutPredicate

Oggetto MethodInfo per FirstOrDefault<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

FirstOrDefaultWithPredicate

Oggetto MethodInfo per FirstOrDefault<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

FirstWithoutPredicate

Oggetto MethodInfo per First<TSource>(IQueryable<TSource>)

FirstWithPredicate

Oggetto MethodInfo per First<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

GroupByWithKeyElementResultSelector

Oggetto MethodInfo per GroupBy<TSource,TKey,TElement,TResult>(IQueryable<TSource>, Expression<Func<TSource, TKey>>, Expression<Func<TSource,TElement>>, Expression<Func<TKey, IEnumerable<TElement>,TResult>>)

GroupByWithKeyElementSelector

Oggetto MethodInfo per GroupBy<TSource,TKey,TElement>(IQueryable<TSource>, Expression<Func<TSource,TKey>>, Expression<Func<TSource,TElement>>)

GroupByWithKeyResultSelector

Oggetto MethodInfo per GroupBy<TSource,TKey,TResult>(IQueryable<TSource>, Expression<Func<TSource,TKey>>, Expression<Func<TKey,IEnumerable<TSource>,TResult>>)

GroupByWithKeySelector

Oggetto MethodInfo per GroupBy<TSource,TKey>(IQueryable<TSource>, Expression<Func<TSource,TKey>>)

GroupJoin

Oggetto MethodInfo per GroupJoin<TOuter,TInner,TKey,TResult>(IQueryable<TOuter>, IEnumerable<TInner>, Expression<Func<TOuter,TKey>>, Expression<Func<TInner,TKey>>, Expression<Func<TOuter,IEnumerable<TInner>,TResult>>)

Intersect

Oggetto MethodInfo per Intersect<TSource>(IQueryable<TSource>, IEnumerable<TSource>)

Join

Oggetto MethodInfo per Join<TOuter,TInner,TKey,TResult>(IQueryable<TOuter>, IEnumerable<TInner>, Expression<Func<TOuter,TKey>>, Expression<Func<TInner,TKey>>, Expression<Func<TOuter,TInner,TResult>>)

LastOrDefaultWithoutPredicate

Oggetto MethodInfo per LastOrDefault<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

LastOrDefaultWithPredicate

Oggetto MethodInfo per LastOrDefault<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

LastWithoutPredicate

Oggetto MethodInfo per Last<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

LastWithPredicate

Oggetto MethodInfo per Last<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

LongCountWithoutPredicate

Oggetto MethodInfo per LongCount<TSource>(IQueryable<TSource>)

LongCountWithPredicate

Oggetto MethodInfo per LongCount<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

MaxWithoutSelector

Oggetto MethodInfo per Max<TSource,TResult>(IQueryable<TSource>, Expression<Func<TSource,TResult>>)

MaxWithSelector

Oggetto MethodInfo per Max<TSource>(IQueryable<TSource>)

MinWithoutSelector

Oggetto MethodInfo per Min<TSource,TResult>(IQueryable<TSource>, Expression<Func<TSource,TResult>>)

MinWithSelector

Oggetto MethodInfo per Min<TSource>(IQueryable<TSource>)

OfType

Oggetto MethodInfo per OfType<TResult>(IQueryable)

OrderBy

Oggetto MethodInfo per OrderBy<TSource,TKey>(IQueryable<TSource>, Expression<Func<TSource,TKey>>)

OrderByDescending

Oggetto MethodInfo per OrderByDescending<TSource,TKey>(IQueryable<TSource>, Expression<Func<TSource,TKey>>)

Reverse

Oggetto MethodInfo per Reverse<TSource>(IQueryable<TSource>)

Select

Oggetto MethodInfo per Select<TSource,TResult>(IQueryable<TSource>, Expression<Func<TSource,TResult>>)

SelectManyWithCollectionSelector

Oggetto MethodInfo per SelectMany<TSource,TCollection,TResult>(IQueryable<TSource>, Expression<Func<TSource, IEnumerable<TCollection>>>, Expression<Func<TSource,TCollection, TResult>>)

SelectManyWithoutCollectionSelector

Oggetto MethodInfo per SelectMany<TSource,TResult>(IQueryable<TSource>, Expression<Func<TSource,IEnumerable<TResult>>>)

SingleOrDefaultWithoutPredicate

Oggetto MethodInfo per SingleOrDefault<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

SingleOrDefaultWithPredicate

Oggetto MethodInfo per SingleOrDefault<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

SingleWithoutPredicate

Oggetto MethodInfo per Single<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

SingleWithPredicate

Oggetto MethodInfo per Single<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

Skip

Oggetto MethodInfo per Skip<TSource>(IQueryable<TSource>, Int32)

SkipWhile

Oggetto MethodInfo per SkipWhile<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

Take

Oggetto MethodInfo per Take<TSource>(IQueryable<TSource>, Int32)

TakeWhile

Oggetto MethodInfo per TakeWhile<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

ThenBy

Oggetto MethodInfo per ThenBy<TSource,TKey>(IOrderedQueryable<TSource>, Expression<Func<TSource,TKey>>)

ThenByDescending

Oggetto MethodInfo per ThenByDescending<TSource,TKey>(IOrderedQueryable<TSource>, Expression<Func<TSource,TKey>>)

Union

Oggetto MethodInfo per Union<TSource>(IQueryable<TSource>, IEnumerable<TSource>)

Where

Oggetto MethodInfo per Where<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

Metodi

GetAverageWithoutSelector(Type)

Restituisce l'oggetto MethodInfo per il Queryable.Average metodo senza un selettore per il tipo specificato.

GetAverageWithSelector(Type)

Restituisce l'oggetto MethodInfo per il Queryable.Average metodo con un selettore per il tipo specificato.

GetSumWithoutSelector(Type)

Restituisce l'oggetto MethodInfo per il Queryable.Sum metodo senza un selettore per il tipo specificato.

GetSumWithSelector(Type)

Restituisce l'oggetto MethodInfo per il Queryable.Sum metodo con un selettore per il tipo specificato.

IsAverageWithoutSelector(MethodInfo)

Verifica se l'oggetto Queryable.Average specificato MethodInfo è uno dei valori senza un selettore.

IsAverageWithSelector(MethodInfo)

Verifica se l'oggetto Queryable.Average specificato MethodInfo è uno di con un selettore.

IsSumWithoutSelector(MethodInfo)

Verifica se l'oggetto Queryable.Sum specificato MethodInfo è uno dei valori senza un selettore.

IsSumWithSelector(MethodInfo)

Verifica se l'oggetto Queryable.Sum specificato MethodInfo è uno di con un selettore.

Si applica a