共用方式為


SqlServerOutputClauseConvention 類別

定義

將具有觸發程式的資料表設定為在儲存變更時不使用 OUTPUT 子句的慣例。

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
繼承
SqlServerOutputClauseConvention
實作

備註

如需詳細資訊和範例,請參閱使用 EF Core建立模型慣例存取SQL Server和Azure SQL資料庫

適用於