次の方法で共有


IConventionEntityTypeMappingFragmentBuilder インターフェイス

定義

を構成するための簡単な API を提供します IConventionEntityTypeMappingFragment

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

注釈

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

プロパティ

Metadata

構成されているフラグメント。

ModelBuilder

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

(継承元 IConventionAnnotatableBuilder)

メソッド

CanRemoveAnnotation(String, Boolean)

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

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

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

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

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

(継承元 IConventionAnnotatableBuilder)
HasNoAnnotation(String, Boolean)

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

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

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

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

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

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

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

(継承元 IConventionAnnotatableBuilder)

適用対象