Share via


IColumnMapping インターフェイス

定義

列へのプロパティ マッピングを表します。

public interface IColumnMapping : Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable, Microsoft.EntityFrameworkCore.Metadata.IColumnMappingBase
type IColumnMapping = interface
    interface IColumnMappingBase
    interface IAnnotatable
type IColumnMapping = interface
    interface IColumnMappingBase
    interface IAnnotatable
    interface IReadOnlyAnnotatable
Public Interface IColumnMapping
Implements IAnnotatable, IColumnMappingBase
実装

注釈

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

プロパティ

Column

ターゲット列を取得します。

Item[String]

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

(継承元 IReadOnlyAnnotatable)
Property

マップされたプロパティを取得します。

(継承元 IColumnMappingBase)
TableMapping

含まれているテーブル マッピングを取得します。

TypeMapping

列に似たオブジェクトの型マッピングを取得します。

(継承元 IColumnMappingBase)

メソッド

AddRuntimeAnnotation(String, Object)

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

(継承元 IAnnotatable)
AnnotationsToDebugString(Int32)

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

(継承元 IReadOnlyAnnotatable)
FindAnnotation(String)

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

(継承元 IReadOnlyAnnotatable)
FindRuntimeAnnotation(String)

指定された名前のランタイム注釈を取得し、存在しない場合は を null 返します。

(継承元 IAnnotatable)
FindRuntimeAnnotationValue(String)

指定された名前のランタイム注釈の値を取得し、存在しない場合は を null 返します。

(継承元 IAnnotatable)
GetAnnotation(String)

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

(継承元 IReadOnlyAnnotatable)
GetAnnotations()

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

(継承元 IReadOnlyAnnotatable)
GetOrAddRuntimeAnnotationValue<TValue,TArg>(String, Func<TArg,TValue>, TArg)

指定された名前のランタイム注釈の値を取得し、存在しない場合は追加します。

(継承元 IAnnotatable)
GetRuntimeAnnotations()

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

(継承元 IAnnotatable)
RemoveRuntimeAnnotation(String)

指定されたランタイム注釈をこのオブジェクトから削除します。

(継承元 IAnnotatable)
SetRuntimeAnnotation(String, Object)

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

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

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

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

拡張メソッド

AnnotationsToDebugString(IAnnotatable, Int32)

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

GetAnnotation(IAnnotatable, String)

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

ToDebugString(IColumnMapping, MetadataDebugStringOptions, Int32)

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

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

適用対象