Delen via


EF Class

Definition

Static methods that are useful in application code where there is not an EF type for the method to be accessed from. For example, referencing a shadow state property in a LINQ query.

public static class EF
type EF = class
Public Class EF
Inheritance
EF

Remarks

See Database functions and Using EF.Property in EF Core queries for more information and examples.

Properties

Functions

Provides CLR methods that get translated to database functions when used in LINQ to Entities queries. Calling these methods in other contexts (e.g. LINQ to Objects) will throw a NotSupportedException.

IsDesignTime

This flag is set to true when code is being run from a design-time tool, such as "dotnet ef" or one of the Package Manager Console PowerShell commands "Add-Migration", "Update-Database", etc.

Methods

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TParam14,TParam15,TResult,TProperty>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TParam15, IIncludableQueryable<TResult,TProperty>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TParam14,TParam15,TResult>(Expression<Func<TContext,TParam1,TParam2, TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10, TParam11,TParam12,TParam13,TParam14,TParam15,IQueryable<TResult>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TParam14,TParam15,TResult>(Expression<Func<TContext,TParam1,TParam2, TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10, TParam11,TParam12,TParam13,TParam14,TParam15,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TParam14,TResult,TProperty>(Expression<Func<TContext,TParam1, TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9, TParam10,TParam11,TParam12,TParam13,TParam14,IIncludableQueryable<TResult, TProperty>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TParam14,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3, TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11, TParam12,TParam13,TParam14,CancellationToken,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TParam14,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3, TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11, TParam12,TParam13,TParam14,IQueryable<TResult>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TParam14,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3, TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11, TParam12,TParam13,TParam14,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TResult,TProperty>(Expression<Func<TContext,TParam1,TParam2,TParam3, TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11, TParam12,TParam13,IIncludableQueryable<TResult,TProperty>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4, TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12, TParam13,CancellationToken,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4, TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12, TParam13,IQueryable<TResult>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4, TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12, TParam13,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TResult, TProperty>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4, TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12, IIncludableQueryable<TResult,TProperty>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,TParam11,TParam12,CancellationToken,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,TParam11,TParam12,IQueryable<TResult>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,TParam11,TParam12,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TResult,TProperty>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,TParam11,IIncludableQueryable<TResult,TProperty>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,TParam11,CancellationToken,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,TParam11,IQueryable<TResult>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,TParam11,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TResult,TProperty>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,IIncludableQueryable<TResult,TProperty>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,CancellationToken,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,IQueryable<TResult>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TResult,TProperty>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,IIncludableQueryable<TResult,TProperty>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,CancellationToken,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,IQueryable<TResult>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TResult,TProperty>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, IIncludableQueryable<TResult,TProperty>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TResult>(Expression<Func<TContext,TParam1, TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,CancellationToken, TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TResult>(Expression<Func<TContext,TParam1, TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,IQueryable<TResult>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TResult>(Expression<Func<TContext,TParam1, TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TResult,TProperty>(Expression<Func<TContext,TParam1, TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,IIncludableQueryable<TResult, TProperty>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TResult>(Expression<Func<TContext,TParam1,TParam2, TParam3,TParam4,TParam5,TParam6,TParam7,CancellationToken,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TResult>(Expression<Func<TContext,TParam1,TParam2, TParam3,TParam4,TParam5,TParam6,TParam7,IQueryable<TResult>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TResult>(Expression<Func<TContext,TParam1,TParam2, TParam3,TParam4,TParam5,TParam6,TParam7,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TResult,TProperty>(Expression<Func<TContext,TParam1,TParam2, TParam3,TParam4,TParam5,TParam6,IIncludableQueryable<TResult, TProperty>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3, TParam4,TParam5,TParam6,CancellationToken,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3, TParam4,TParam5,TParam6,IQueryable<TResult>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3, TParam4,TParam5,TParam6,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TResult,TProperty>(Expression<Func<TContext,TParam1,TParam2,TParam3, TParam4,TParam5,IIncludableQueryable<TResult,TProperty>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4, TParam5,CancellationToken,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4, TParam5,IQueryable<TResult>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4, TParam5,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TResult, TProperty>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4, IIncludableQueryable<TResult,TProperty>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,CancellationToken,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,IQueryable<TResult>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TResult,TProperty>(Expression<Func<TContext, TParam1,TParam2,TParam3,IIncludableQueryable<TResult,TProperty>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,CancellationToken,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,IQueryable<TResult>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TResult,TProperty>(Expression<Func<TContext,TParam1,TParam2,IIncludableQueryable<TResult,TProperty>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TResult>(Expression<Func<TContext,TParam1,TParam2,CancellationToken,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TResult>(Expression<Func<TContext,TParam1,TParam2,IQueryable<TResult>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TParam2,TResult>(Expression<Func<TContext,TParam1,TParam2,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TResult,TProperty>(Expression<Func<TContext,TParam1,IIncludableQueryable<TResult,TProperty>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TResult>(Expression<Func<TContext,TParam1,CancellationToken,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TResult>(Expression<Func<TContext,TParam1,IQueryable<TResult>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TParam1,TResult>(Expression<Func<TContext,TParam1,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TResult,TProperty>(Expression<Func<TContext,IIncludableQueryable<TResult,TProperty>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TResult>(Expression<Func<TContext,CancellationToken,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TResult>(Expression<Func<TContext,DbQuery<TResult>>>)
Obsolete.

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TResult>(Expression<Func<TContext,DbSet<TResult>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TResult>(Expression<Func<TContext,IQueryable<TResult>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileAsyncQuery<TContext,TResult>(Expression<Func<TContext,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TParam14,TParam15,TResult,TProperty>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TParam15, IIncludableQueryable<TResult,TProperty>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TParam14,TParam15,TResult>(Expression<Func<TContext,TParam1,TParam2, TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10, TParam11,TParam12,TParam13,TParam14,TParam15,IQueryable<TResult>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TParam14,TParam15,TResult>(Expression<Func<TContext,TParam1,TParam2, TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10, TParam11,TParam12,TParam13,TParam14,TParam15,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TParam14,TResult,TProperty>(Expression<Func<TContext,TParam1, TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9, TParam10,TParam11,TParam12,TParam13,TParam14,IIncludableQueryable<TResult, TProperty>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TParam14,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3, TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11, TParam12,TParam13,TParam14,IQueryable<TResult>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TParam14,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3, TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11, TParam12,TParam13,TParam14,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TResult,TProperty>(Expression<Func<TContext,TParam1,TParam2,TParam3, TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11, TParam12,TParam13,IIncludableQueryable<TResult,TProperty>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4, TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12, TParam13,IQueryable<TResult>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4, TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12, TParam13,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TResult, TProperty>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4, TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12, IIncludableQueryable<TResult,TProperty>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,TParam11,TParam12,IQueryable<TResult>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,TParam11,TParam12,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TResult,TProperty>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,TParam11,IIncludableQueryable<TResult,TProperty>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,TParam11,IQueryable<TResult>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,TParam11,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TResult,TProperty>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,IIncludableQueryable<TResult,TProperty>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,IQueryable<TResult>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TResult,TProperty>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,IIncludableQueryable<TResult,TProperty>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,IQueryable<TResult>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TResult,TProperty>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, IIncludableQueryable<TResult,TProperty>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TResult>(Expression<Func<TContext,TParam1, TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,IQueryable<TResult>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TResult>(Expression<Func<TContext,TParam1, TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TResult,TProperty>(Expression<Func<TContext,TParam1, TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,IIncludableQueryable<TResult, TProperty>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TResult>(Expression<Func<TContext,TParam1,TParam2, TParam3,TParam4,TParam5,TParam6,TParam7,IQueryable<TResult>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TResult>(Expression<Func<TContext,TParam1,TParam2, TParam3,TParam4,TParam5,TParam6,TParam7,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TResult,TProperty>(Expression<Func<TContext,TParam1,TParam2, TParam3,TParam4,TParam5,TParam6,IIncludableQueryable<TResult, TProperty>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3, TParam4,TParam5,TParam6,IQueryable<TResult>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3, TParam4,TParam5,TParam6,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TResult,TProperty>(Expression<Func<TContext,TParam1,TParam2,TParam3, TParam4,TParam5,IIncludableQueryable<TResult,TProperty>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4, TParam5,IQueryable<TResult>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TResult, TProperty>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4, IIncludableQueryable<TResult,TProperty>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,IQueryable<TResult>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TResult,TProperty>(Expression<Func<TContext, TParam1,TParam2,TParam3,IIncludableQueryable<TResult,TProperty>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,IQueryable<TResult>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TParam3,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TResult,TProperty>(Expression<Func<TContext,TParam1,TParam2,IIncludableQueryable<TResult,TProperty>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TResult>(Expression<Func<TContext,TParam1,TParam2,IQueryable<TResult>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TParam2,TResult>(Expression<Func<TContext,TParam1,TParam2,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TResult,TProperty>(Expression<Func<TContext,TParam1,IIncludableQueryable<TResult,TProperty>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TResult>(Expression<Func<TContext,TParam1,IQueryable<TResult>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TParam1,TResult>(Expression<Func<TContext,TParam1,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TResult,TProperty>(Expression<Func<TContext,IIncludableQueryable<TResult,TProperty>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TResult>(Expression<Func<TContext,DbQuery<TResult>>>)
Obsolete.

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TResult>(Expression<Func<TContext,DbSet<TResult>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TResult>(Expression<Func<TContext,IQueryable<TResult>>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

CompileQuery<TContext,TResult>(Expression<Func<TContext,TResult>>)

Creates a compiled query delegate that when invoked will execute the specified LINQ query.

Property<TProperty>(Object, String)

References a given property or navigation on an entity or complex type instance. This is useful for shadow state properties, for which no CLR property exists. Currently this method can only be used in LINQ queries and can not be used to access the value assigned to a property in other scenarios.

Applies to