StoredProcedureConvention Class

Definition

A convention that ensures that the entity type is current for the stored procedures.

public class StoredProcedureConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention
type StoredProcedureConvention = class
    interface IEntityTypeAddedConvention
    interface IConvention
Public Class StoredProcedureConvention
Implements IEntityTypeAddedConvention
Inheritance
StoredProcedureConvention
Implements

Remarks

See Model building conventions and Entity type hierarchy mapping for more information and examples.

Constructors

StoredProcedureConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies)

Creates a new instance of StoredProcedureConvention.

Properties

Dependencies

Dependencies for this service.

RelationalDependencies

Relational provider-specific dependencies for this service.

Methods

ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>)

Called after an entity type is added to the model.

Applies to