Share via


IConventionTriggerBuilder インターフェイス

定義

を構成するためのプロバイダー固有の拡張機能の API ポイントを IConventionTrigger提供します。

public interface IConventionTriggerBuilder : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionAnnotatableBuilder
type IConventionTriggerBuilder = interface
    interface IConventionAnnotatableBuilder
Public Interface IConventionTriggerBuilder
Implements IConventionAnnotatableBuilder
実装

注釈

詳細と例については、「 モデル構築規則 」を参照してください。

プロパティ

Metadata

構成されているトリガー。

ModelBuilder

モデル ビルダーを取得します。

(継承元 IConventionAnnotatableBuilder)

メソッド

CanRemoveAnnotation(String, Boolean)

この構成ソースを使用して、指定した名前の注釈を削除できるかどうかを示す値を返します。

(継承元 IConventionAnnotatableBuilder)
CanSetAnnotation(String, Object, Boolean)

指定した名前と値を持つ注釈をこの構成ソースから設定できるかどうかを示す値を返します。

(継承元 IConventionAnnotatableBuilder)
HasAnnotation(String, Object, Boolean)

指定した名前の下に格納されている注釈を設定します。 指定した名前の注釈が既に同じか下 ConfigurationSourceにある場合は、既存の注釈を上書きします。

HasNoAnnotation(String, Boolean)

指定した名前の注釈をこのオブジェクトから削除します。

HasNonNullAnnotation(String, Object, Boolean)

指定した名前の下に格納されている注釈を設定します。 指定した名前の注釈が既に同じか下 ConfigurationSourceにある場合は、既存の注釈を上書きします。 value が指定されている場合 null は、注釈を削除します。

RemoveAnnotation(String, Boolean)
互換性のために残されています。.

指定した名前の注釈をこのオブジェクトから削除します。

(継承元 IConventionAnnotatableBuilder)
SetOrRemoveAnnotation(String, Object, Boolean)
互換性のために残されています。.

指定した名前の下に格納されている注釈を設定または削除します。

(継承元 IConventionAnnotatableBuilder)

拡張メソッド

CanSetDatabaseName(IConventionTriggerBuilder, String, Boolean)

指定した名前をトリガーに設定できるかどうかを示す値を返します。

CanSetTableName(IConventionTriggerBuilder, String, Boolean)

トリガーに対して指定されたテーブル名を設定できるかどうかを示す値を返します。

CanSetTableSchema(IConventionTriggerBuilder, String, Boolean)

トリガーに対して指定されたテーブル スキーマを設定できるかどうかを示す値を返します。

HasDatabaseName(IConventionTriggerBuilder, String, Boolean)

トリガーのデータベース名を設定します。

HasTableName(IConventionTriggerBuilder, String, Boolean)

このトリガーが定義されているテーブルの名前を設定します。

HasTableSchema(IConventionTriggerBuilder, String, Boolean)

このトリガーが定義されているテーブルのスキーマを設定します。

適用対象