Language

IConventionRelationalPropertyOverrides インターフェイス

定義

特定のテーブルに似たストア オブジェクトのプロパティ ファセットオーバーライドを表します。

public interface IConventionRelationalPropertyOverrides : Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyRelationalPropertyOverrides
type IConventionRelationalPropertyOverrides = interface
    interface IReadOnlyRelationalPropertyOverrides
    interface IReadOnlyAnnotatable
    interface IConventionAnnotatable
Public Interface IConventionRelationalPropertyOverrides
Implements IConventionAnnotatable, IReadOnlyRelationalPropertyOverrides
実装

注釈

詳細と例については、 エンティティの型とリレーションシップのモデル化 を参照してください。

プロパティ

Name 説明
Builder

この関数の構成に使用できるビルダーを取得します。

ColumnName

指定したテーブルに似たストア オブジェクトを対象とする場合にプロパティがマップされる列を取得します。

(継承元 IReadOnlyRelationalPropertyOverrides)
IsColumnNameOverridden

列名がオーバーライドされるかどうかを示す値を取得します。

(継承元 IReadOnlyRelationalPropertyOverrides)
IsInModel

このオブジェクトがモデル内にあるかどうか、つまり、モデルから削除されていないかどうかを示します。

(継承元 IConventionAnnotatable)
Item[String]

指定した名前の注釈の値を取得し、存在しない場合は null 返します。

(継承元 IReadOnlyAnnotatable)
Property

オーバーライドの対象となるプロパティを取得します。

StoreObject

これらのオーバーライドの対象となるテーブルに似たストア オブジェクトの ID。

(継承元 IReadOnlyRelationalPropertyOverrides)

メソッド

Name 説明
AddAnnotation(String, Object, Boolean)

このオブジェクトに注釈を追加します。 指定した名前の注釈が既に存在する場合にスローします。

(継承元 IConventionAnnotatable)
AddAnnotations(IEnumerable<IConventionAnnotation>, Boolean)

オブジェクトに注釈を追加します。

(継承元 IConventionAnnotatable)
AnnotationsToDebugString(Int32)

オブジェクトで宣言されているすべての注釈のデバッグ文字列を取得します。

(継承元 IReadOnlyAnnotatable)
FindAnnotation(String)

指定した名前の注釈を取得し、存在しない場合は null 返します。

(継承元 IConventionAnnotatable)
GetAnnotation(String)

指定した名前の注釈を取得し、存在しない場合はスローします。

(継承元 IConventionAnnotatable)
GetAnnotations()

現在のオブジェクトのすべての注釈を取得します。

(継承元 IConventionAnnotatable)
GetColumnNameConfigurationSource()

ColumnNameの構成ソースを返します。

GetConfigurationSource()

これらのオーバーライドの構成ソースを返します。

RemoveAnnotation(String)

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

(継承元 IConventionAnnotatable)
RemoveColumnNameOverride(Boolean)

列名のオーバーライドを削除します。

SetAnnotation(String, Object, Boolean)

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

(継承元 IConventionAnnotatable)
SetColumnName(String, Boolean)

指定したテーブルに似たストア オブジェクトを対象とする場合にプロパティがマップされる列を設定します。

SetOrRemoveAnnotation(String, Object, Boolean)

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

(継承元 IConventionAnnotatable)
ToDebugString(MetadataDebugStringOptions, Int32)

指定されたメタデータの人間が判読できる表現を作成します。

警告: 返される文字列の形式に依存しないでください。 デバッグ専用に設計されており、リリース間で任意に変更される可能性があります。

(継承元 IReadOnlyRelationalPropertyOverrides)

拡張メソッド

Name 説明
GetIdentityIncrement(IReadOnlyRelationalPropertyOverrides)

ID の増分値を返します。

GetIdentityIncrementConfigurationSource(IConventionRelationalPropertyOverrides)

特定のテーブルの ID 増分の ConfigurationSource を返します。

GetIdentitySeed(IReadOnlyRelationalPropertyOverrides)

ID シードを返します。

GetIdentitySeedConfigurationSource(IConventionRelationalPropertyOverrides)

特定のテーブルの ID シードの ConfigurationSource を返します。

GetValueGenerationStrategy(IReadOnlyRelationalPropertyOverrides)

プロパティに使用する SqliteValueGenerationStrategy を返します。

GetValueGenerationStrategy(IReadOnlyRelationalPropertyOverrides)

プロパティに使用する SqlServerValueGenerationStrategy を返します。

GetValueGenerationStrategyConfigurationSource(IConventionRelationalPropertyOverrides)

特定のテーブルのSqliteValueGenerationStrategyのConfigurationSourceを返します。

GetValueGenerationStrategyConfigurationSource(IConventionRelationalPropertyOverrides)

特定のテーブルのSqlServerValueGenerationStrategyのConfigurationSourceを返します。

SetIdentityIncrement(IConventionRelationalPropertyOverrides, Nullable<Int32>, Boolean)

特定のテーブルの ID 増分を設定します。

SetIdentitySeed(IConventionRelationalPropertyOverrides, Nullable<Int64>, Boolean)

特定のテーブルの ID シードを設定します。

SetValueGenerationStrategy(IConventionRelationalPropertyOverrides, Nullable<SqliteValueGenerationStrategy>, Boolean)

特定のテーブルのプロパティに使用する SqliteValueGenerationStrategy を設定します。

SetValueGenerationStrategy(IConventionRelationalPropertyOverrides, Nullable<SqlServerValueGenerationStrategy>, Boolean)

特定のテーブルのプロパティに使用する SqlServerValueGenerationStrategy を設定します。

適用対象