语言

IQueryCompilationContextFactory.CreatePrecompiled 方法

定义

重载

CreatePrecompiled(Boolean)

Source:
IQueryCompilationContextFactory.cs
Source:
IQueryCompilationContextFactory.cs

创建新的 QueryCompilationContext。

[System.Diagnostics.CodeAnalysis.Experimental("EF9100")]
public virtual Microsoft.EntityFrameworkCore.Query.QueryCompilationContext CreatePrecompiled(bool async);
[<System.Diagnostics.CodeAnalysis.Experimental("EF9100")>]
abstract member CreatePrecompiled : bool -> Microsoft.EntityFrameworkCore.Query.QueryCompilationContext
override this.CreatePrecompiled : bool -> Microsoft.EntityFrameworkCore.Query.QueryCompilationContext
Public Overridable Function CreatePrecompiled (async As Boolean) As QueryCompilationContext

参数

async
Boolean

指定查询是否为异步查询。

返回

创建的查询编译上下文。

特性

适用于

CreatePrecompiled(Boolean, IReadOnlySet<String>)

Source:
IQueryCompilationContextFactory.cs

创建新的 QueryCompilationContext。

[System.Diagnostics.CodeAnalysis.Experimental("EF9100")]
public virtual Microsoft.EntityFrameworkCore.Query.QueryCompilationContext CreatePrecompiled(bool async, System.Collections.Generic.IReadOnlySet<string> nonNullableReferenceTypeParameters);
[<System.Diagnostics.CodeAnalysis.Experimental("EF9100")>]
abstract member CreatePrecompiled : bool * System.Collections.Generic.IReadOnlySet<string> -> Microsoft.EntityFrameworkCore.Query.QueryCompilationContext
override this.CreatePrecompiled : bool * System.Collections.Generic.IReadOnlySet<string> -> Microsoft.EntityFrameworkCore.Query.QueryCompilationContext
Public Overridable Function CreatePrecompiled (async As Boolean, nonNullableReferenceTypeParameters As IReadOnlySet(Of String)) As QueryCompilationContext

参数

async
Boolean

指定查询是否为异步查询。

nonNullableReferenceTypeParameters
IReadOnlySet<String>

具有不可为 null 引用类型的参数的名称。

返回

创建的查询编译上下文。

特性

适用于