Movatterモバイル変換


[0]ホーム

URL:


Skip to main contentSkip to in-page navigation

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft EdgeMore info about Internet Explorer and Microsoft Edge
Table of contentsExit editor mode

EF.CompileAsyncQuery 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

CompileAsyncQuery<TContext,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.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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,IAsyncEnumerable<TResult>>

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.Threading.Tasks.Task<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, Task(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,TResult>>

The LINQ query expression.

Returns

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

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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,IAsyncEnumerable<TResult>>

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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,IAsyncEnumerable<TResult>>

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.Threading.Tasks.Task<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, Task(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,TResult>>

The LINQ query expression.

Returns

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

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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,IAsyncEnumerable<TResult>>

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.Threading.CancellationToken,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<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.Threading.CancellationToken,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'TParam14, System.Threading.CancellationToken, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'TParam14, System.Threading.CancellationToken, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, CancellationToken, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, CancellationToken, Task(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,CancellationToken,TResult>>

The LINQ query expression.

Returns

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

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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,IAsyncEnumerable<TResult>>

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.Threading.Tasks.Task<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, Task(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,TResult>>

The LINQ query expression.

Returns

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

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.Threading.CancellationToken,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<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.Threading.CancellationToken,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, System.Threading.CancellationToken, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, System.Threading.CancellationToken, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, CancellationToken, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, CancellationToken, Task(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,CancellationToken,TResult>>

The LINQ query expression.

Returns

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

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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,IAsyncEnumerable<TResult>>

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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,IAsyncEnumerable<TResult>>

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.Threading.Tasks.Task<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, Task(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,TResult>>

The LINQ query expression.

Returns

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

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.Threading.CancellationToken,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<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.Threading.CancellationToken,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, System.Threading.CancellationToken, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, System.Threading.CancellationToken, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, CancellationToken, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, CancellationToken, Task(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,CancellationToken,TResult>>

The LINQ query expression.

Returns

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

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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,IAsyncEnumerable<TResult>>

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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,IAsyncEnumerable<TResult>>

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.Threading.CancellationToken,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<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.Threading.CancellationToken,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, System.Threading.CancellationToken, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, System.Threading.CancellationToken, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, CancellationToken, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, CancellationToken, Task(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,CancellationToken,TResult>>

The LINQ query expression.

Returns

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

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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,IAsyncEnumerable<TResult>>

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.Threading.Tasks.Task<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, Task(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,TResult>>

The LINQ query expression.

Returns

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

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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,IAsyncEnumerable<TResult>>

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.Threading.Tasks.Task<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, Task(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,TResult>>

The LINQ query expression.

Returns

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

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.Threading.CancellationToken,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<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.Threading.CancellationToken,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, System.Threading.CancellationToken, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, System.Threading.CancellationToken, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, CancellationToken, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, CancellationToken, Task(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,CancellationToken,TResult>>

The LINQ query expression.

Returns

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

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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,IAsyncEnumerable<TResult>>

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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,IAsyncEnumerable<TResult>>

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.Threading.Tasks.Task<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, Task(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,TResult>>

The LINQ query expression.

Returns

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

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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,IAsyncEnumerable<TResult>>

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.Threading.CancellationToken,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<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.Threading.CancellationToken,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, System.Threading.CancellationToken, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, System.Threading.CancellationToken, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, CancellationToken, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, CancellationToken, Task(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,CancellationToken,TResult>>

The LINQ query expression.

Returns

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

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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,IAsyncEnumerable<TResult>>

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

Applies to

CompileAsyncQuery<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.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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,IAsyncEnumerable<TResult>>

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.Threading.Tasks.Task<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, Task(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,TResult>>

The LINQ query expression.

Returns

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

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.Threading.CancellationToken,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<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.Threading.CancellationToken,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, System.Threading.CancellationToken, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, System.Threading.CancellationToken, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, CancellationToken, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, CancellationToken, Task(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,CancellationToken,TResult>>

The LINQ query expression.

Returns

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

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

Applies to

CompileAsyncQuery<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.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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,IAsyncEnumerable<TResult>>

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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,IAsyncEnumerable<TResult>>

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.Threading.Tasks.Task<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, Task(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,TResult>>

The LINQ query expression.

Returns

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

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.Threading.CancellationToken,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,System.Threading.CancellationToken,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, System.Threading.CancellationToken, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, System.Threading.CancellationToken, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, CancellationToken, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, CancellationToken, Task(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,CancellationToken,TResult>>

The LINQ query expression.

Returns

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

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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,IAsyncEnumerable<TResult>>

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.Threading.Tasks.Task<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, Task(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,TResult>>

The LINQ query expression.

Returns

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

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.Threading.CancellationToken,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,System.Threading.CancellationToken,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, System.Threading.CancellationToken, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, System.Threading.CancellationToken, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, CancellationToken, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, CancellationToken, Task(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,CancellationToken,TResult>>

The LINQ query expression.

Returns

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

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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,IAsyncEnumerable<TResult>>

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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,IAsyncEnumerable<TResult>>

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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;
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,Microsoft.EntityFrameworkCore.Query.AsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, Microsoft.EntityFrameworkCore.Query.AsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(Of TResult))
Public Shared Function CompileAsyncQuery(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, AsyncEnumerable(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,IAsyncEnumerable<TResult>>
Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,AsyncEnumerable<TResult>>

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.Threading.Tasks.Task<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, Task(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,TResult>>

The LINQ query expression.

Returns

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

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.Threading.CancellationToken,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,System.Threading.CancellationToken,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, System.Threading.CancellationToken, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, System.Threading.CancellationToken, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, CancellationToken, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, CancellationToken, Task(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,CancellationToken,TResult>>

The LINQ query expression.

Returns

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

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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,IAsyncEnumerable<TResult>>

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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;
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,Microsoft.EntityFrameworkCore.Query.AsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, Microsoft.EntityFrameworkCore.Query.AsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(Of TResult))
Public Shared Function CompileAsyncQuery(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, AsyncEnumerable(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,IAsyncEnumerable<TResult>>
Func<TContext,TParam1,TParam2,TParam3,TParam4,AsyncEnumerable<TResult>>

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,System.Threading.CancellationToken,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,System.Threading.CancellationToken,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, System.Threading.CancellationToken, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, System.Threading.CancellationToken, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, CancellationToken, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, CancellationToken, Task(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,CancellationToken,TResult>>

The LINQ query expression.

Returns

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

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, Task(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,TResult>>

The LINQ query expression.

Returns

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

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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,IAsyncEnumerable<TResult>>

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, Task(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,TResult>>

The LINQ query expression.

Returns

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

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs

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

public static Func<TContext,TParam1,TParam2,TParam3,System.Threading.CancellationToken,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,System.Threading.CancellationToken,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, System.Threading.CancellationToken, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, System.Threading.CancellationToken, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, CancellationToken, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, CancellationToken, Task(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,CancellationToken,TResult>>

The LINQ query expression.

Returns

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

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.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.IAsyncEnumerable<TResult>> CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
public static Func<TContext,TParam1,TParam2,TParam3,Microsoft.EntityFrameworkCore.Query.AsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, Microsoft.EntityFrameworkCore.Query.AsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(Of TResult))
Public Shared Function CompileAsyncQuery(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, AsyncEnumerable(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,IAsyncEnumerable<TResult>>
Func<TContext,TParam1,TParam2,TParam3,AsyncEnumerable<TResult>>

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs

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

public static Func<TContext,TParam1,TParam2,System.Collections.Generic.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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,IAsyncEnumerable<TResult>>

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs

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

public static Func<TContext,TParam1,TParam2,System.Threading.CancellationToken,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<TContext,TParam1,TParam2,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,System.Threading.CancellationToken,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, System.Threading.CancellationToken, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, System.Threading.CancellationToken, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, CancellationToken, TResult))) As Func(Of TContext, TParam1, TParam2, CancellationToken, Task(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,CancellationToken,TResult>>

The LINQ query expression.

Returns

Func<TContext,TParam1,TParam2,CancellationToken,Task<TResult>>

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs

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

public static Func<TContext,TParam1,TParam2,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<TContext,TParam1,TParam2,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, Task(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,TResult>>

The LINQ query expression.

Returns

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

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs

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

public static Func<TContext,TParam1,TParam2,System.Collections.Generic.IAsyncEnumerable<TResult>> CompileAsyncQuery<TContext,TParam1,TParam2,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
public static Func<TContext,TParam1,TParam2,Microsoft.EntityFrameworkCore.Query.AsyncEnumerable<TResult>> CompileAsyncQuery<TContext,TParam1,TParam2,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, Microsoft.EntityFrameworkCore.Query.AsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(Of TResult))
Public Shared Function CompileAsyncQuery(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, AsyncEnumerable(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,IAsyncEnumerable<TResult>>
Func<TContext,TParam1,TParam2,AsyncEnumerable<TResult>>

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs

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

public static Func<TContext,TParam1,System.Collections.Generic.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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,IAsyncEnumerable<TResult>>

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs

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

public static Func<TContext,TParam1,System.Collections.Generic.IAsyncEnumerable<TResult>> CompileAsyncQuery<TContext,TParam1,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
public static Func<TContext,TParam1,Microsoft.EntityFrameworkCore.Query.AsyncEnumerable<TResult>> CompileAsyncQuery<TContext,TParam1,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, Microsoft.EntityFrameworkCore.Query.AsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(Of TResult))
Public Shared Function CompileAsyncQuery(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, AsyncEnumerable(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,IAsyncEnumerable<TResult>>
Func<TContext,TParam1,AsyncEnumerable<TResult>>

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs

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

public static Func<TContext,TParam1,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<TContext,TParam1,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'Result>> -> Func<'Context, 'TParam1, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(Of TContext As DbContext, TParam1 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TResult))) As Func(Of TContext, TParam1, Task(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,TResult>>

The LINQ query expression.

Returns

Func<TContext,TParam1,Task<TResult>>

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs

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

public static Func<TContext,TParam1,System.Threading.CancellationToken,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<TContext,TParam1,TResult>(System.Linq.Expressions.Expression<Func<TContext,TParam1,System.Threading.CancellationToken,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, System.Threading.CancellationToken, 'Result>> -> Func<'Context, 'TParam1, System.Threading.CancellationToken, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(Of TContext As DbContext, TParam1 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, CancellationToken, TResult))) As Func(Of TContext, TParam1, CancellationToken, Task(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,CancellationToken,TResult>>

The LINQ query expression.

Returns

Func<TContext,TParam1,CancellationToken,Task<TResult>>

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs

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

public static Func<TContext,System.Collections.Generic.IAsyncEnumerable<TResult>> CompileAsyncQuery<TContext,TResult,TProperty>(System.Linq.Expressions.Expression<Func<TContext,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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,IAsyncEnumerable<TResult>>

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs

Caution

Use DbSet instead

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

public static Func<TContext,Microsoft.EntityFrameworkCore.Query.AsyncEnumerable<TResult>> CompileAsyncQuery<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.IAsyncEnumerable<TResult>> CompileAsyncQuery<TContext,TResult>(System.Linq.Expressions.Expression<Func<TContext,Microsoft.EntityFrameworkCore.DbQuery<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext where TResult : class;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, Microsoft.EntityFrameworkCore.DbQuery<'Result>>> -> Func<'Context, Microsoft.EntityFrameworkCore.Query.AsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext and 'Result : null)
[<System.Obsolete("Use DbSet instead")>]static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, Microsoft.EntityFrameworkCore.DbQuery<'Result>>> -> Func<'Context, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext and 'Result : null)
Public Shared Function CompileAsyncQuery(Of TContext As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, DbQuery(Of TResult)))) As Func(Of TContext, AsyncEnumerable(Of TResult))
Public Shared Function CompileAsyncQuery(Of TContext As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, DbQuery(Of TResult)))) As Func(Of TContext, IAsyncEnumerable(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,AsyncEnumerable<TResult>>
Func<TContext,IAsyncEnumerable<TResult>>

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

Attributes

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs

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

public static Func<TContext,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<TContext,TResult>(System.Linq.Expressions.Expression<Func<TContext,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'Result>> -> Func<'Context, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(Of TContext As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TResult))) As Func(Of TContext, Task(Of 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,Task<TResult>>

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs

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

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

Type Parameters

TContext

The target DbContext type.

TResult

The query result type.

Parameters

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

The LINQ query expression.

Returns

Func<TContext,CancellationToken,Task<TResult>>

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs

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

public static Func<TContext,System.Collections.Generic.IAsyncEnumerable<TResult>> CompileAsyncQuery<TContext,TResult>(System.Linq.Expressions.Expression<Func<TContext,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
public static Func<TContext,Microsoft.EntityFrameworkCore.Query.AsyncEnumerable<TResult>> CompileAsyncQuery<TContext,TResult>(System.Linq.Expressions.Expression<Func<TContext,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, System.Linq.IQueryable<'Result>>> -> Func<'Context, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, System.Linq.IQueryable<'Result>>> -> Func<'Context, Microsoft.EntityFrameworkCore.Query.AsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(Of TContext As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, IQueryable(Of TResult)))) As Func(Of TContext, IAsyncEnumerable(Of TResult))
Public Shared Function CompileAsyncQuery(Of TContext As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, IQueryable(Of TResult)))) As Func(Of TContext, AsyncEnumerable(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,IAsyncEnumerable<TResult>>
Func<TContext,AsyncEnumerable<TResult>>

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

Applies to

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

Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs
Source:
EF.CompileAsyncQuery.cs

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

public static Func<TContext,System.Collections.Generic.IAsyncEnumerable<TResult>> CompileAsyncQuery<TContext,TResult>(System.Linq.Expressions.Expression<Func<TContext,Microsoft.EntityFrameworkCore.DbSet<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext where TResult : class;
public static Func<TContext,Microsoft.EntityFrameworkCore.Query.AsyncEnumerable<TResult>> CompileAsyncQuery<TContext,TResult>(System.Linq.Expressions.Expression<Func<TContext,Microsoft.EntityFrameworkCore.DbSet<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext where TResult : class;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, Microsoft.EntityFrameworkCore.DbSet<'Result>>> -> Func<'Context, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext and 'Result : null)
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, Microsoft.EntityFrameworkCore.DbSet<'Result>>> -> Func<'Context, Microsoft.EntityFrameworkCore.Query.AsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext and 'Result : null)
Public Shared Function CompileAsyncQuery(Of TContext As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, DbSet(Of TResult)))) As Func(Of TContext, IAsyncEnumerable(Of TResult))
Public Shared Function CompileAsyncQuery(Of TContext As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, DbSet(Of TResult)))) As Func(Of TContext, AsyncEnumerable(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,IAsyncEnumerable<TResult>>
Func<TContext,AsyncEnumerable<TResult>>

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

Applies to

Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, seeour contributor guide.

Feedback

Was this page helpful?

YesNoNo

Need help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?

In this article

Was this page helpful?

YesNo
NoNeed help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?