IQueryCompilationContextFactory.CreatePrecompiled Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| CreatePrecompiled(Boolean) |
Creates a new QueryCompilationContext. |
| CreatePrecompiled(Boolean, IReadOnlySet<String>) |
Creates a new QueryCompilationContext. |
CreatePrecompiled(Boolean)
Creates a new 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
Parameters
- async
- Boolean
Specifies whether the query is async.
Returns
The created query compilation context.
- Attributes
Applies to
CreatePrecompiled(Boolean, IReadOnlySet<String>)
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