Udostępnij za pośrednictwem


IPrecompiledQueryCodeGenerator Interface

Definition

Used to generate code for precompiled queries.

[System.Diagnostics.CodeAnalysis.Experimental("EF9100")]
public interface IPrecompiledQueryCodeGenerator : Microsoft.EntityFrameworkCore.Design.ILanguageBasedService
[<System.Diagnostics.CodeAnalysis.Experimental("EF9100")>]
type IPrecompiledQueryCodeGenerator = interface
    interface ILanguageBasedService
Public Interface IPrecompiledQueryCodeGenerator
Implements ILanguageBasedService
Attributes
Implements

Remarks

See EF Core compiled models, and EF Core design-time services for more information and examples.

Properties

Language

Gets the programming language supported by this service.

(Inherited from ILanguageBasedService)

Methods

GeneratePrecompiledQueries(Compilation, SyntaxGenerator, DbContext, IReadOnlyDictionary<MemberInfo,QualifiedName>, List<PrecompiledQueryCodeGenerator.QueryPrecompilationError>, ISet<String>, Assembly, String, CancellationToken)

Generates the precompiled queries code.

Applies to