語言

IQueryCompilationContextFactory.CreatePrecompiled 方法

定義

多載

CreatePrecompiled(Boolean)

來源:
IQueryCompilationContextFactory.cs
來源:
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>)

來源:
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>

具有不可空參考型別的參數名稱。

傳回

建立的查詢編譯上下文。

屬性

適用於