Language

SqlServerOutputClauseConvention クラス

定義

変更を保存するときに OUTPUT 句を使用しないようにトリガーを持つテーブルを構成する規則。

[System.Runtime.CompilerServices.Nullable(0)]
public class SqlServerOutputClauseConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.ITriggerAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.ITriggerRemovedConvention
[<System.Runtime.CompilerServices.Nullable(0)>]
type SqlServerOutputClauseConvention = class
    interface ITriggerAddedConvention
    interface IConvention
    interface ITriggerRemovedConvention
Public Class SqlServerOutputClauseConvention
Implements ITriggerAddedConvention, ITriggerRemovedConvention
継承
SqlServerOutputClauseConvention
属性
実装

注釈

詳細と例については、「モデル構築規則」および「EF Core を使用したSQL ServerおよびAzure SQLデータベースへのアクセス」を参照してください。

コンストラクター

Name 説明
SqlServerOutputClauseConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies)

SqlServerDbFunctionConventionの新しいインスタンスを作成します。

プロパティ

Name 説明
Dependencies

このサービスの依存関係。

RelationalDependencies

このサービスのリレーショナル プロバイダー固有の依存関係。

メソッド

Name 説明
ProcessTriggerAdded(IConventionTriggerBuilder, IConventionContext<IConventionTriggerBuilder>)

トリガーがエンティティ型に追加された後に呼び出されます。

ProcessTriggerRemoved(IConventionEntityTypeBuilder, IConventionTrigger, IConventionContext<IConventionTrigger>)

エンティティ型からトリガーが削除された後に呼び出されます。

適用対象