Share via


StoredProcedureConvention Class

Definition

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

[System.Runtime.CompilerServices.Nullable(0)]
public class StoredProcedureConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention
public class StoredProcedureConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention
[<System.Runtime.CompilerServices.Nullable(0)>]
type StoredProcedureConvention = class
    interface IEntityTypeAddedConvention
    interface IConvention
type StoredProcedureConvention = class
    interface IEntityTypeAddedConvention
    interface IConvention
Public Class StoredProcedureConvention
Implements IEntityTypeAddedConvention
Inheritance
StoredProcedureConvention
Attributes
Implements

Remarks

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

Constructors

Name Description
StoredProcedureConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies)

Creates a new instance of StoredProcedureConvention.

Properties

Name Description
Dependencies

Dependencies for this service.

RelationalDependencies

Relational provider-specific dependencies for this service.

Methods

Name Description
ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>)

Called after an entity type is added to the model.

Applies to