Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

EF.CompileQuery Method

Definition

Namespace:
Microsoft.EntityFrameworkCore
Assembly:
Microsoft.EntityFrameworkCore.dll
Package:
Microsoft.EntityFrameworkCore v10.0.0
Package:
Microsoft.EntityFrameworkCore v5.0.0
Package:
Microsoft.EntityFrameworkCore v6.0.0
Package:
Microsoft.EntityFrameworkCore v7.0.0
Package:
Microsoft.EntityFrameworkCore v8.0.0
Package:
Microsoft.EntityFrameworkCore v9.0.0
Package:
Microsoft.EntityFrameworkCore v2.0.3
Package:
Microsoft.EntityFrameworkCore v2.1.11
Package:
Microsoft.EntityFrameworkCore v2.2.6
Package:
Microsoft.EntityFrameworkCore v3.0.0
Package:
Microsoft.EntityFrameworkCore v3.1.0

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Overloads

Name Description
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,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,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,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,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,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,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,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,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, 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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,IQueryable<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,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,IQueryable<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,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,IQueryable<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,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,IQueryable<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,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,IQueryable<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,TResult>>)

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,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,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,DbSet<TResult>>>)

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,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>>>)

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TParam15,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TParam15,TResult,TProperty>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TParam15,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'TParam14, 'TParam15, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'TParam14, 'TParam15, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TParam12 As DbContext, TParam13 As DbContext, TParam14 As DbContext, TParam15 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, TParam15, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, TParam15, IEnumerable(Of TResult))

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TParam4

The type of the fourth query parameter.

TParam5

The type of the fifth query parameter.

TParam6

The type of the sixth query parameter.

TParam7

The type of the seventh query parameter.

TParam8

The type of the eighth query parameter.

TParam9

The type of the ninth query parameter.

TParam10

The type of the tenth query parameter.

TParam11

The type of the eleventh query parameter.

TParam12

The type of the twelfth query parameter.

TParam13

The type of the thirteenth query parameter.

TParam14

The type of the fourteenth query parameter.

TParam15

The type of the fifteenth query parameter.

TResult

The query result type.

TProperty

The included property type.

Parameters

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

The LINQ query expression.

Returns

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

A delegate that can be invoked to execute the compiled query.

Applies to

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>>)

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TParam15,TResult> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TParam15,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TParam15,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'TParam14, 'TParam15, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'TParam14, 'TParam15, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TParam12 As DbContext, TParam13 As DbContext, TParam14 As DbContext, TParam15 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, TParam15, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, TParam15, TResult)

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TParam4

The type of the fourth query parameter.

TParam5

The type of the fifth query parameter.

TParam6

The type of the sixth query parameter.

TParam7

The type of the seventh query parameter.

TParam8

The type of the eighth query parameter.

TParam9

The type of the ninth query parameter.

TParam10

The type of the tenth query parameter.

TParam11

The type of the eleventh query parameter.

TParam12

The type of the twelfth query parameter.

TParam13

The type of the thirteenth query parameter.

TParam14

The type of the fourteenth query parameter.

TParam15

The type of the fifteenth query parameter.

TResult

The query result type.

Parameters

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

The LINQ query expression.

Returns

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

A delegate that can be invoked to execute the compiled query.

Applies to

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>>>)

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TParam15,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TParam15,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TParam15,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'TParam14, 'TParam15, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'TParam14, 'TParam15, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TParam12 As DbContext, TParam13 As DbContext, TParam14 As DbContext, TParam15 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, TParam15, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, TParam15, IEnumerable(Of TResult))

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TParam4

The type of the fourth query parameter.

TParam5

The type of the fifth query parameter.

TParam6

The type of the sixth query parameter.

TParam7

The type of the seventh query parameter.

TParam8

The type of the eighth query parameter.

TParam9

The type of the ninth query parameter.

TParam10

The type of the tenth query parameter.

TParam11

The type of the eleventh query parameter.

TParam12

The type of the twelfth query parameter.

TParam13

The type of the thirteenth query parameter.

TParam14

The type of the fourteenth query parameter.

TParam15

The type of the fifteenth query parameter.

TResult

The query result type.

Parameters

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

The LINQ query expression.

Returns

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

A delegate that can be invoked to execute the compiled query.

Applies to

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>>>)

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TResult,TProperty>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'TParam14, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'TParam14, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TParam12 As DbContext, TParam13 As DbContext, TParam14 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, IEnumerable(Of TResult))

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TParam4

The type of the fourth query parameter.

TParam5

The type of the fifth query parameter.

TParam6

The type of the sixth query parameter.

TParam7

The type of the seventh query parameter.

TParam8

The type of the eighth query parameter.

TParam9

The type of the ninth query parameter.

TParam10

The type of the tenth query parameter.

TParam11

The type of the eleventh query parameter.

TParam12

The type of the twelfth query parameter.

TParam13

The type of the thirteenth query parameter.

TParam14

The type of the fourteenth query parameter.

TResult

The query result type.

TProperty

The included property type.

Parameters

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

The LINQ query expression.

Returns

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

A delegate that can be invoked to execute the compiled query.

Applies to

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>>)

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TResult> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'TParam14, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'TParam14, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TParam12 As DbContext, TParam13 As DbContext, TParam14 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, TResult)

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TParam4

The type of the fourth query parameter.

TParam5

The type of the fifth query parameter.

TParam6

The type of the sixth query parameter.

TParam7

The type of the seventh query parameter.

TParam8

The type of the eighth query parameter.

TParam9

The type of the ninth query parameter.

TParam10

The type of the tenth query parameter.

TParam11

The type of the eleventh query parameter.

TParam12

The type of the twelfth query parameter.

TParam13

The type of the thirteenth query parameter.

TParam14

The type of the fourteenth query parameter.

TResult

The query result type.

Parameters

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

The LINQ query expression.

Returns

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

A delegate that can be invoked to execute the compiled query.

Applies to

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>>>)

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'TParam14, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'TParam14, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TParam12 As DbContext, TParam13 As DbContext, TParam14 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, IEnumerable(Of TResult))

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TParam4

The type of the fourth query parameter.

TParam5

The type of the fifth query parameter.

TParam6

The type of the sixth query parameter.

TParam7

The type of the seventh query parameter.

TParam8

The type of the eighth query parameter.

TParam9

The type of the ninth query parameter.

TParam10

The type of the tenth query parameter.

TParam11

The type of the eleventh query parameter.

TParam12

The type of the twelfth query parameter.

TParam13

The type of the thirteenth query parameter.

TParam14

The type of the fourteenth query parameter.

TResult

The query result type.

Parameters

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

The LINQ query expression.

Returns

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

A delegate that can be invoked to execute the compiled query.

Applies to

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>>>)

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TResult,TProperty>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TParam12 As DbContext, TParam13 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, IEnumerable(Of TResult))

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TParam4

The type of the fourth query parameter.

TParam5

The type of the fifth query parameter.

TParam6

The type of the sixth query parameter.

TParam7

The type of the seventh query parameter.

TParam8

The type of the eighth query parameter.

TParam9

The type of the ninth query parameter.

TParam10

The type of the tenth query parameter.

TParam11

The type of the eleventh query parameter.

TParam12

The type of the twelfth query parameter.

TParam13

The type of the thirteenth query parameter.

TResult

The query result type.

TProperty

The included property type.

Parameters

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

The LINQ query expression.

Returns

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,IEnumerable<TResult>>

A delegate that can be invoked to execute the compiled query.

Applies to

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>>)

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TResult> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TParam12 As DbContext, TParam13 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TResult)

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TParam4

The type of the fourth query parameter.

TParam5

The type of the fifth query parameter.

TParam6

The type of the sixth query parameter.

TParam7

The type of the seventh query parameter.

TParam8

The type of the eighth query parameter.

TParam9

The type of the ninth query parameter.

TParam10

The type of the tenth query parameter.

TParam11

The type of the eleventh query parameter.

TParam12

The type of the twelfth query parameter.

TParam13

The type of the thirteenth query parameter.

TResult

The query result type.

Parameters

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

The LINQ query expression.

Returns

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

A delegate that can be invoked to execute the compiled query.

Applies to

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>>>)

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TParam12 As DbContext, TParam13 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, IEnumerable(Of TResult))

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TParam4

The type of the fourth query parameter.

TParam5

The type of the fifth query parameter.

TParam6

The type of the sixth query parameter.

TParam7

The type of the seventh query parameter.

TParam8

The type of the eighth query parameter.

TParam9

The type of the ninth query parameter.

TParam10

The type of the tenth query parameter.

TParam11

The type of the eleventh query parameter.

TParam12

The type of the twelfth query parameter.

TParam13

The type of the thirteenth query parameter.

TResult

The query result type.

Parameters

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

The LINQ query expression.

Returns

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,IEnumerable<TResult>>

A delegate that can be invoked to execute the compiled query.

Applies to

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>>>)

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TResult,TProperty>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TParam12 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, IEnumerable(Of TResult))

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TParam4

The type of the fourth query parameter.

TParam5

The type of the fifth query parameter.

TParam6

The type of the sixth query parameter.

TParam7

The type of the seventh query parameter.

TParam8

The type of the eighth query parameter.

TParam9

The type of the ninth query parameter.

TParam10

The type of the tenth query parameter.

TParam11

The type of the eleventh query parameter.

TParam12

The type of the twelfth query parameter.

TResult

The query result type.

TProperty

The included property type.

Parameters

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

The LINQ query expression.

Returns

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,IEnumerable<TResult>>

A delegate that can be invoked to execute the compiled query.

Applies to

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>>)

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TResult> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TParam12 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TResult)

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TParam4

The type of the fourth query parameter.

TParam5

The type of the fifth query parameter.

TParam6

The type of the sixth query parameter.

TParam7

The type of the seventh query parameter.

TParam8

The type of the eighth query parameter.

TParam9

The type of the ninth query parameter.

TParam10

The type of the tenth query parameter.

TParam11

The type of the eleventh query parameter.

TParam12

The type of the twelfth query parameter.

TResult

The query result type.

Parameters

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

The LINQ query expression.

Returns

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

A delegate that can be invoked to execute the compiled query.

Applies to

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>>>)

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TParam12 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, IEnumerable(Of TResult))

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TParam4

The type of the fourth query parameter.

TParam5

The type of the fifth query parameter.

TParam6

The type of the sixth query parameter.

TParam7

The type of the seventh query parameter.

TParam8

The type of the eighth query parameter.

TParam9

The type of the ninth query parameter.

TParam10

The type of the tenth query parameter.

TParam11

The type of the eleventh query parameter.

TParam12

The type of the twelfth query parameter.

TResult

The query result type.

Parameters

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

The LINQ query expression.

Returns

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,IEnumerable<TResult>>

A delegate that can be invoked to execute the compiled query.

Applies to

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>>>)

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TResult,TProperty>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, IEnumerable(Of TResult))

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TParam4

The type of the fourth query parameter.

TParam5

The type of the fifth query parameter.

TParam6

The type of the sixth query parameter.

TParam7

The type of the seventh query parameter.

TParam8

The type of the eighth query parameter.

TParam9

The type of the ninth query parameter.

TParam10

The type of the tenth query parameter.

TParam11

The type of the eleventh query parameter.

TResult

The query result type.

TProperty

The included property type.

Parameters

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

The LINQ query expression.

Returns

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,IEnumerable<TResult>>

A delegate that can be invoked to execute the compiled query.

Applies to

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>>)

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TResult> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TResult)

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TParam4

The type of the fourth query parameter.

TParam5

The type of the fifth query parameter.

TParam6

The type of the sixth query parameter.

TParam7

The type of the seventh query parameter.

TParam8

The type of the eighth query parameter.

TParam9

The type of the ninth query parameter.

TParam10

The type of the tenth query parameter.

TParam11

The type of the eleventh query parameter.

TResult

The query result type.

Parameters

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

The LINQ query expression.

Returns

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

A delegate that can be invoked to execute the compiled query.

Applies to

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>>>)

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, IEnumerable(Of TResult))

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TParam4

The type of the fourth query parameter.

TParam5

The type of the fifth query parameter.

TParam6

The type of the sixth query parameter.

TParam7

The type of the seventh query parameter.

TParam8

The type of the eighth query parameter.

TParam9

The type of the ninth query parameter.

TParam10

The type of the tenth query parameter.

TParam11

The type of the eleventh query parameter.

TResult

The query result type.

Parameters

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

The LINQ query expression.

Returns

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,IEnumerable<TResult>>

A delegate that can be invoked to execute the compiled query.

Applies to

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>>>)

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TResult,TProperty>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, IEnumerable(Of TResult))

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TParam4

The type of the fourth query parameter.

TParam5

The type of the fifth query parameter.

TParam6

The type of the sixth query parameter.

TParam7

The type of the seventh query parameter.

TParam8

The type of the eighth query parameter.

TParam9

The type of the ninth query parameter.

TParam10

The type of the tenth query parameter.

TResult

The query result type.

TProperty

The included property type.

Parameters

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

The LINQ query expression.

Returns

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,IEnumerable<TResult>>

A delegate that can be invoked to execute the compiled query.

Applies to

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>>)

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TResult> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TResult)

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TParam4

The type of the fourth query parameter.

TParam5

The type of the fifth query parameter.

TParam6

The type of the sixth query parameter.

TParam7

The type of the seventh query parameter.

TParam8

The type of the eighth query parameter.

TParam9

The type of the ninth query parameter.

TParam10

The type of the tenth query parameter.

TResult

The query result type.

Parameters

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

The LINQ query expression.

Returns

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

A delegate that can be invoked to execute the compiled query.

Applies to

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>>>)

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, IEnumerable(Of TResult))

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TParam4

The type of the fourth query parameter.

TParam5

The type of the fifth query parameter.

TParam6

The type of the sixth query parameter.

TParam7

The type of the seventh query parameter.

TParam8

The type of the eighth query parameter.

TParam9

The type of the ninth query parameter.

TParam10

The type of the tenth query parameter.

TResult

The query result type.

Parameters

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

The LINQ query expression.

Returns

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,IEnumerable<TResult>>

A delegate that can be invoked to execute the compiled query.

Applies to

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>>>)

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TResult,TProperty>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, IEnumerable(Of TResult))

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TParam4

The type of the fourth query parameter.

TParam5

The type of the fifth query parameter.

TParam6

The type of the sixth query parameter.

TParam7

The type of the seventh query parameter.

TParam8

The type of the eighth query parameter.

TParam9

The type of the ninth query parameter.

TResult

The query result type.

TProperty

The included property type.

Parameters

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

The LINQ query expression.

Returns

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,IEnumerable<TResult>>

A delegate that can be invoked to execute the compiled query.

Applies to

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>>>)

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, IEnumerable(Of TResult))

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TParam4

The type of the fourth query parameter.

TParam5

The type of the fifth query parameter.

TParam6

The type of the sixth query parameter.

TParam7

The type of the seventh query parameter.

TParam8

The type of the eighth query parameter.

TParam9

The type of the ninth query parameter.

TResult

The query result type.

Parameters

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

The LINQ query expression.

Returns

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,IEnumerable<TResult>>

A delegate that can be invoked to execute the compiled query.

Applies to

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>>)

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TResult> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TResult)

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TParam4

The type of the fourth query parameter.

TParam5

The type of the fifth query parameter.

TParam6

The type of the sixth query parameter.

TParam7

The type of the seventh query parameter.

TParam8

The type of the eighth query parameter.

TParam9

The type of the ninth query parameter.

TResult

The query result type.

Parameters

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

The LINQ query expression.

Returns

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TResult>

A delegate that can be invoked to execute the compiled query.

Applies to

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>>>)

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TResult,TProperty>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, IEnumerable(Of TResult))

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TParam4

The type of the fourth query parameter.

TParam5

The type of the fifth query parameter.

TParam6

The type of the sixth query parameter.

TParam7

The type of the seventh query parameter.

TParam8

The type of the eighth query parameter.

TResult

The query result type.

TProperty

The included property type.

Parameters

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

The LINQ query expression.

Returns

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,IEnumerable<TResult>>

A delegate that can be invoked to execute the compiled query.

Applies to

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

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TResult> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TResult)

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TParam4

The type of the fourth query parameter.

TParam5

The type of the fifth query parameter.

TParam6

The type of the sixth query parameter.

TParam7

The type of the seventh query parameter.

TParam8

The type of the eighth query parameter.

TResult

The query result type.

Parameters

queryExpression
Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TResult>>

The LINQ query expression.

Returns

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TResult>

A delegate that can be invoked to execute the compiled query.

Applies to

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

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, IEnumerable(Of TResult))

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TParam4

The type of the fourth query parameter.

TParam5

The type of the fifth query parameter.

TParam6

The type of the sixth query parameter.

TParam7

The type of the seventh query parameter.

TParam8

The type of the eighth query parameter.

TResult

The query result type.

Parameters

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

The LINQ query expression.

Returns

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,IEnumerable<TResult>>

A delegate that can be invoked to execute the compiled query.

Applies to

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

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TResult,TProperty>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, IEnumerable(Of TResult))

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TParam4

The type of the fourth query parameter.

TParam5

The type of the fifth query parameter.

TParam6

The type of the sixth query parameter.

TParam7

The type of the seventh query parameter.

TResult

The query result type.

TProperty

The included property type.

Parameters

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

The LINQ query expression.

Returns

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,IEnumerable<TResult>>

A delegate that can be invoked to execute the compiled query.

Applies to

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

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TResult> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TResult)

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TParam4

The type of the fourth query parameter.

TParam5

The type of the fifth query parameter.

TParam6

The type of the sixth query parameter.

TParam7

The type of the seventh query parameter.

TResult

The query result type.

Parameters

queryExpression
Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TResult>>

The LINQ query expression.

Returns

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TResult>

A delegate that can be invoked to execute the compiled query.

Applies to

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

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, IEnumerable(Of TResult))

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TParam4

The type of the fourth query parameter.

TParam5

The type of the fifth query parameter.

TParam6

The type of the sixth query parameter.

TParam7

The type of the seventh query parameter.

TResult

The query result type.

Parameters

queryExpression
Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,IQueryable<TResult>>>

The LINQ query expression.

Returns

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,IEnumerable<TResult>>

A delegate that can be invoked to execute the compiled query.

Applies to

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

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TResult,TProperty>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, IEnumerable(Of TResult))

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TParam4

The type of the fourth query parameter.

TParam5

The type of the fifth query parameter.

TParam6

The type of the sixth query parameter.

TResult

The query result type.

TProperty

The included property type.

Parameters

queryExpression
Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,IIncludableQueryable<TResult,TProperty>>>

The LINQ query expression.

Returns

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,IEnumerable<TResult>>

A delegate that can be invoked to execute the compiled query.

Applies to

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

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TResult> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TResult)

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TParam4

The type of the fourth query parameter.

TParam5

The type of the fifth query parameter.

TParam6

The type of the sixth query parameter.

TResult

The query result type.

Parameters

queryExpression
Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TResult>>

The LINQ query expression.

Returns

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TResult>

A delegate that can be invoked to execute the compiled query.

Applies to

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

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, IEnumerable(Of TResult))

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TParam4

The type of the fourth query parameter.

TParam5

The type of the fifth query parameter.

TParam6

The type of the sixth query parameter.

TResult

The query result type.

Parameters

queryExpression
Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,IQueryable<TResult>>>

The LINQ query expression.

Returns

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,IEnumerable<TResult>>

A delegate that can be invoked to execute the compiled query.

Applies to

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

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TResult,TProperty>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, IEnumerable(Of TResult))

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TParam4

The type of the fourth query parameter.

TParam5

The type of the fifth query parameter.

TResult

The query result type.

TProperty

The included property type.

Parameters

queryExpression
Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,IIncludableQueryable<TResult,TProperty>>>

The LINQ query expression.

Returns

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,IEnumerable<TResult>>

A delegate that can be invoked to execute the compiled query.

Applies to

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

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TResult> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TResult)

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TParam4

The type of the fourth query parameter.

TParam5

The type of the fifth query parameter.

TResult

The query result type.

Parameters

queryExpression
Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TResult>>

The LINQ query expression.

Returns

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TResult>

A delegate that can be invoked to execute the compiled query.

Applies to

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

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, IEnumerable(Of TResult))

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TParam4

The type of the fourth query parameter.

TParam5

The type of the fifth query parameter.

TResult

The query result type.

Parameters

queryExpression
Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,IQueryable<TResult>>>

The LINQ query expression.

Returns

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,IEnumerable<TResult>>

A delegate that can be invoked to execute the compiled query.

Applies to

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

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TResult,TProperty>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, IEnumerable(Of TResult))

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TParam4

The type of the fourth query parameter.

TResult

The query result type.

TProperty

The included property type.

Parameters

queryExpression
Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,IIncludableQueryable<TResult,TProperty>>>

The LINQ query expression.

Returns

Func<TContext,TParam1,TParam2,TParam3,TParam4,IEnumerable<TResult>>

A delegate that can be invoked to execute the compiled query.

Applies to

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

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TResult> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TResult)

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TParam4

The type of the fourth query parameter.

TResult

The query result type.

Parameters

queryExpression
Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TResult>>

The LINQ query expression.

Returns

Func<TContext,TParam1,TParam2,TParam3,TParam4,TResult>

A delegate that can be invoked to execute the compiled query.

Applies to

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

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, IEnumerable(Of TResult))

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TParam4

The type of the fourth query parameter.

TResult

The query result type.

Parameters

queryExpression
Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,IQueryable<TResult>>>

The LINQ query expression.

Returns

Func<TContext,TParam1,TParam2,TParam3,TParam4,IEnumerable<TResult>>

A delegate that can be invoked to execute the compiled query.

Applies to

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

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TResult,TProperty>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, IEnumerable(Of TResult))

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TResult

The query result type.

TProperty

The included property type.

Parameters

queryExpression
Expression<Func<TContext,TParam1,TParam2,TParam3,IIncludableQueryable<TResult,TProperty>>>

The LINQ query expression.

Returns

Func<TContext,TParam1,TParam2,TParam3,IEnumerable<TResult>>

A delegate that can be invoked to execute the compiled query.

Applies to

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

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TResult> CompileQuery<TContext,TParam1,TParam2,TParam3,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TResult)

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TResult

The query result type.

Parameters

queryExpression
Expression<Func<TContext,TParam1,TParam2,TParam3,TResult>>

The LINQ query expression.

Returns

Func<TContext,TParam1,TParam2,TParam3,TResult>

A delegate that can be invoked to execute the compiled query.

Applies to

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

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, IEnumerable(Of TResult))

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TParam3

The type of the third query parameter.

TResult

The query result type.

Parameters

queryExpression
Expression<Func<TContext,TParam1,TParam2,TParam3,IQueryable<TResult>>>

The LINQ query expression.

Returns

Func<TContext,TParam1,TParam2,TParam3,IEnumerable<TResult>>

A delegate that can be invoked to execute the compiled query.

Applies to

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

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TResult,TProperty>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, IEnumerable(Of TResult))

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TResult

The query result type.

TProperty

The included property type.

Parameters

queryExpression
Expression<Func<TContext,TParam1,TParam2,IIncludableQueryable<TResult,TProperty>>>

The LINQ query expression.

Returns

Func<TContext,TParam1,TParam2,IEnumerable<TResult>>

A delegate that can be invoked to execute the compiled query.

Applies to

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

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,TResult> CompileQuery<TContext,TParam1,TParam2,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TResult))) As Func(Of TContext, TParam1, TParam2, TResult)

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TResult

The query result type.

Parameters

queryExpression
Expression<Func<TContext,TParam1,TParam2,TResult>>

The LINQ query expression.

Returns

Func<TContext,TParam1,TParam2,TResult>

A delegate that can be invoked to execute the compiled query.

Applies to

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

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TParam2,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, IEnumerable(Of TResult))

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TParam2

The type of the second query parameter.

TResult

The query result type.

Parameters

queryExpression
Expression<Func<TContext,TParam1,TParam2,IQueryable<TResult>>>

The LINQ query expression.

Returns

Func<TContext,TParam1,TParam2,IEnumerable<TResult>>

A delegate that can be invoked to execute the compiled query.

Applies to

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

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TResult,TProperty>(System.Linq.Expressions.Expression<Func<TContext,TParam1,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, IEnumerable(Of TResult))

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TResult

The query result type.

TProperty

The included property type.

Parameters

queryExpression
Expression<Func<TContext,TParam1,IIncludableQueryable<TResult,TProperty>>>

The LINQ query expression.

Returns

Func<TContext,TParam1,IEnumerable<TResult>>

A delegate that can be invoked to execute the compiled query.

Applies to

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

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,TResult> CompileQuery<TContext,TParam1,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'Result>> -> Func<'Context, 'TParam1, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TResult))) As Func(Of TContext, TParam1, TResult)

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TResult

The query result type.

Parameters

queryExpression
Expression<Func<TContext,TParam1,TResult>>

The LINQ query expression.

Returns

Func<TContext,TParam1,TResult>

A delegate that can be invoked to execute the compiled query.

Applies to

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

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TParam1,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, IEnumerable(Of TResult))

Type Parameters

TContext

The target DbContext type.

TParam1

The type of the first query parameter.

TResult

The query result type.

Parameters

queryExpression
Expression<Func<TContext,TParam1,IQueryable<TResult>>>

The LINQ query expression.

Returns

Func<TContext,TParam1,IEnumerable<TResult>>

A delegate that can be invoked to execute the compiled query.

Applies to

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

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TResult,TProperty>(System.Linq.Expressions.Expression<Func<TContext,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, IEnumerable(Of TResult))

Type Parameters

TContext

The target DbContext type.

TResult

The query result type.

TProperty

The included property type.

Parameters

queryExpression
Expression<Func<TContext,IIncludableQueryable<TResult,TProperty>>>

The LINQ query expression.

Returns

Func<TContext,IEnumerable<TResult>>

A delegate that can be invoked to execute the compiled query.

Applies to

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

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,TResult> CompileQuery<TContext,TResult>(System.Linq.Expressions.Expression<Func<TContext,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'Result>> -> Func<'Context, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TResult))) As Func(Of TContext, TResult)

Type Parameters

TContext

The target DbContext type.

TResult

The query result type.

Parameters

queryExpression
Expression<Func<TContext,TResult>>

The LINQ query expression.

Returns

Func<TContext,TResult>

A delegate that can be invoked to execute the compiled query.

Applies to

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

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TResult>(System.Linq.Expressions.Expression<Func<TContext,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, System.Linq.IQueryable<'Result>>> -> Func<'Context, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, IQueryable(Of TResult)))) As Func(Of TContext, IEnumerable(Of TResult))

Type Parameters

TContext

The target DbContext type.

TResult

The query result type.

Parameters

queryExpression
Expression<Func<TContext,IQueryable<TResult>>>

The LINQ query expression.

Returns

Func<TContext,IEnumerable<TResult>>

A delegate that can be invoked to execute the compiled query.

Applies to

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

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

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

public static Func<TContext,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TResult>(System.Linq.Expressions.Expression<Func<TContext,Microsoft.EntityFrameworkCore.DbSet<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext where TResult : class;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, Microsoft.EntityFrameworkCore.DbSet<'Result>>> -> Func<'Context, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext and 'Result : null)
Public Shared Function CompileQuery(Of TContext As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, DbSet(Of TResult)))) As Func(Of TContext, IEnumerable(Of TResult))

Type Parameters

TContext

The target DbContext type.

TResult

The query result type.

Parameters

queryExpression
Expression<Func<TContext,DbSet<TResult>>>

The LINQ query expression.

Returns

Func<TContext,IEnumerable<TResult>>

A delegate that can be invoked to execute the compiled query.

Applies to

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

Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs
Source:
EF.CompileQuery.cs

Caution

Use DbSet instead

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

public static Func<TContext,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TResult>(System.Linq.Expressions.Expression<Func<TContext,Microsoft.EntityFrameworkCore.DbQuery<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext where TResult : class;
[System.Obsolete("Use DbSet instead")]
public static Func<TContext,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TResult>(System.Linq.Expressions.Expression<Func<TContext,Microsoft.EntityFrameworkCore.DbQuery<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext where TResult : class;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, Microsoft.EntityFrameworkCore.DbQuery<'Result>>> -> Func<'Context, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext and 'Result : null)
[<System.Obsolete("Use DbSet instead")>]
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, Microsoft.EntityFrameworkCore.DbQuery<'Result>>> -> Func<'Context, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext and 'Result : null)
Public Shared Function CompileQuery(Of TContext As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, DbQuery(Of TResult)))) As Func(Of TContext, IEnumerable(Of TResult))

Type Parameters

TContext

The target DbContext type.

TResult

The query result type.

Parameters

queryExpression
Expression<Func<TContext,DbQuery<TResult>>>

The LINQ query expression.

Returns

Func<TContext,IEnumerable<TResult>>

A delegate that can be invoked to execute the compiled query.

Attributes

Applies to


Feedback

Was this page helpful?