SqlServerOutputClauseConvention Class

Definition

A convention that configures tables with triggers to not use the OUTPUT clause when saving changes.

public class SqlServerOutputClauseConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.ITriggerAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.ITriggerRemovedConvention
type SqlServerOutputClauseConvention = class
    interface ITriggerAddedConvention
    interface IConvention
    interface ITriggerRemovedConvention
Public Class SqlServerOutputClauseConvention
Implements ITriggerAddedConvention, ITriggerRemovedConvention
Inheritance
SqlServerOutputClauseConvention
Implements

Remarks

See Model building conventions, and Accessing SQL Server and Azure SQL databases with EF Core for more information and examples.

Constructors

SqlServerOutputClauseConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies)

Creates a new instance of SqlServerDbFunctionConvention.

Properties

Dependencies

Dependencies for this service.

RelationalDependencies

Relational provider-specific dependencies for this service.

Methods

ProcessTriggerAdded(IConventionTriggerBuilder, IConventionContext<IConventionTriggerBuilder>)

Called after a trigger is added to the entity type.

ProcessTriggerRemoved(IConventionEntityTypeBuilder, IConventionTrigger, IConventionContext<IConventionTrigger>)

Called after a trigger is removed from the entity type.

Applies to