RuntimeEntityTypeMappingFragment クラス

定義

特定のテーブルに似たストア オブジェクトのエンティティ型マッピングを表します。

public class RuntimeEntityTypeMappingFragment : Microsoft.EntityFrameworkCore.Infrastructure.AnnotatableBase, Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment
type RuntimeEntityTypeMappingFragment = class
    inherit AnnotatableBase
    interface IEntityTypeMappingFragment
    interface IReadOnlyEntityTypeMappingFragment
    interface IReadOnlyAnnotatable
    interface IAnnotatable
Public Class RuntimeEntityTypeMappingFragment
Inherits AnnotatableBase
Implements IEntityTypeMappingFragment
継承
RuntimeEntityTypeMappingFragment
実装

注釈

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

コンストラクター

RuntimeEntityTypeMappingFragment(RuntimeEntityType, StoreObjectIdentifier, Nullable<Boolean>)

RuntimeEntityTypeMappingFragment クラスの新しいインスタンスを初期化します。

プロパティ

DebugView

これは Entity Framework Core インフラストラクチャをサポートする内部 API であり、パブリック API と同じ互換性標準の対象ではありません。 これは、いかなるリリースでも予告なしに変更または削除される可能性があります。 コード内でのみ直接使用する必要があります。これを行うと、新しい Entity Framework Core リリースに更新するときにアプリケーションエラーが発生する可能性があることを認識してください。

EntityType

フラグメントが定義されているエンティティ型を取得します。

IsReadOnly

現在のオブジェクトが読み取り専用かどうかを示します。

(継承元 AnnotatableBase)
IsTableExcludedFromMigrations

関連付けられたテーブルが Migrations によって無視されるかどうかを示す値を取得します。

Item[String]

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

(継承元 AnnotatableBase)
StoreObject

構成が適用されるストア オブジェクトを取得します。

メソッド

AddAnnotation(String, Annotation)

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

(継承元 AnnotatableBase)
AddAnnotation(String, Object)

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

(継承元 AnnotatableBase)
AddAnnotations(IEnumerable<IAnnotation>)

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

(継承元 AnnotatableBase)
AddAnnotations(IReadOnlyDictionary<String,Object>)

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

(継承元 AnnotatableBase)
AddRuntimeAnnotation(String, Annotation)

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

(継承元 AnnotatableBase)
AddRuntimeAnnotation(String, Object)

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

(継承元 AnnotatableBase)
AddRuntimeAnnotations(IEnumerable<Annotation>)

このオブジェクトにランタイム注釈を追加します。

(継承元 AnnotatableBase)
AddRuntimeAnnotations(IReadOnlyDictionary<String,Object>)

このオブジェクトにランタイム注釈を追加します。

(継承元 AnnotatableBase)
CreateAnnotation(String, Object)

新しい注釈を作成します。

(継承元 AnnotatableBase)
CreateRuntimeAnnotation(String, Object)

新しいランタイム注釈を作成します。

(継承元 AnnotatableBase)
EnsureMutable()

モデルが読み取り専用の場合は をスローします。

(継承元 AnnotatableBase)
EnsureReadOnly()

モデルが読み取り専用でない場合は をスローします。

(継承元 AnnotatableBase)
FindAnnotation(String)

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

(継承元 AnnotatableBase)
FindRuntimeAnnotation(String)

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

(継承元 AnnotatableBase)
GetAnnotation(String)

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

(継承元 AnnotatableBase)
GetAnnotations()

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

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

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

(継承元 AnnotatableBase)
GetRuntimeAnnotations()

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

(継承元 AnnotatableBase)
OnAnnotationSet(String, Annotation, Annotation)

注釈が設定または削除されたときに呼び出されます。

(継承元 AnnotatableBase)
RemoveAnnotation(String)

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

(継承元 AnnotatableBase)
RemoveRuntimeAnnotation(String)

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

(継承元 AnnotatableBase)
SetAnnotation(String, Annotation, Annotation)

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

(継承元 AnnotatableBase)
SetAnnotation(String, Object)

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

(継承元 AnnotatableBase)
SetRuntimeAnnotation(String, Annotation, Annotation)

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

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

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

(継承元 AnnotatableBase)
ToString()

特定のテーブルに似たストア オブジェクトのエンティティ型マッピングを表します。

明示的なインターフェイスの実装

IAnnotatable.AddRuntimeAnnotation(String, Object)

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

(継承元 AnnotatableBase)
IAnnotatable.FindRuntimeAnnotation(String)

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

(継承元 AnnotatableBase)
IAnnotatable.GetRuntimeAnnotations()

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

(継承元 AnnotatableBase)
IAnnotatable.RemoveRuntimeAnnotation(String)

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

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

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

(継承元 AnnotatableBase)
IEntityTypeMappingFragment.EntityType

フラグメントが定義されているエンティティ型を取得します。

IReadOnlyAnnotatable.FindAnnotation(String)

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

(継承元 AnnotatableBase)
IReadOnlyAnnotatable.GetAnnotations()

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

(継承元 AnnotatableBase)
IReadOnlyAnnotatable.Item[String]

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

(継承元 AnnotatableBase)
IReadOnlyEntityTypeMappingFragment.EntityType

フラグメントが定義されているエンティティ型を取得します。

拡張メソッド

IsSqlReturningClauseUsed(IReadOnlyEntityTypeMappingFragment)

テーブルへの変更を保存するときに SQL RETURNING 句を使用するかどうかを示す値を返します。 RETURNING 句は、仮想テーブルや AFTER トリガーを含むテーブルなど、特定の Sqlite 機能と互換性がありません。

IsSqlOutputClauseUsed(IReadOnlyEntityTypeMappingFragment)

関連付けられたテーブルへの変更を保存するときに SQL OUTPUT 句を使用するかどうかを示す値を返します。 OUTPUT 句は、トリガーを含むテーブルなど、特定のSQL Server機能と互換性がありません。

適用対象