Partager via


IQueryCompilationContextFactory.CreatePrecompiled Method

Definition

Creates a new 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

Parameters

async
Boolean

Specifies whether the query is async.

nonNullableReferenceTypeParameters
IReadOnlySet<String>

Names of parameters which have non-nullable reference types.

Returns

The created query compilation context.

Attributes

Applies to