RuntimeEntityTypeMappingFragment クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
特定のテーブルに似たストア オブジェクトのエンティティ型マッピングを表します。
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(RuntimeEntityType, StoreObjectIdentifier, Nullable<Boolean>) |
RuntimeEntityTypeMappingFragment クラスの新しいインスタンスを初期化します。 |
プロパティ
DebugView |
これは Entity Framework Core インフラストラクチャをサポートする内部 API であり、パブリック API と同じ互換性標準の対象ではありません。 これは、いかなるリリースでも予告なしに変更または削除される可能性があります。 コード内でのみ直接使用する必要があります。これを行うと、新しい Entity Framework Core リリースに更新するときにアプリケーションエラーが発生する可能性があることを認識してください。 |
EntityType |
フラグメントが定義されているエンティティ型を取得します。 |
IsReadOnly |
現在のオブジェクトが読み取り専用かどうかを示します。 (継承元 AnnotatableBase) |
IsTableExcludedFromMigrations |
関連付けられたテーブルが Migrations によって無視されるかどうかを示す値を取得します。 |
Item[String] |
指定された名前の値注釈を取得し、存在しない場合は を |
StoreObject |
構成が適用されるストア オブジェクトを取得します。 |
メソッド
明示的なインターフェイスの実装
IAnnotatable.AddRuntimeAnnotation(String, Object) |
このオブジェクトにランタイム注釈を追加します。 指定した名前の注釈が既に存在する場合は をスローします。 (継承元 AnnotatableBase) |
IAnnotatable.FindRuntimeAnnotation(String) |
指定された名前のランタイム注釈を取得し、存在しない場合は を |
IAnnotatable.GetRuntimeAnnotations() |
現在の オブジェクトのすべてのランタイム注釈を取得します。 (継承元 AnnotatableBase) |
IAnnotatable.RemoveRuntimeAnnotation(String) |
指定されたランタイム注釈をこのオブジェクトから削除します。 (継承元 AnnotatableBase) |
IAnnotatable.SetRuntimeAnnotation(String, Object) |
指定したキーの下に格納されているランタイム注釈を設定します。 指定した名前の注釈が既に存在する場合は、既存の注釈を上書きします。 (継承元 AnnotatableBase) |
IEntityTypeMappingFragment.EntityType |
フラグメントが定義されているエンティティ型を取得します。 |
IReadOnlyAnnotatable.FindAnnotation(String) |
指定した名前の注釈を取得し、存在しない場合は を |
IReadOnlyAnnotatable.GetAnnotations() |
現在の オブジェクトのすべての注釈を取得します。 (継承元 AnnotatableBase) |
IReadOnlyAnnotatable.Item[String] |
指定した名前の注釈の値を取得し、存在しない場合は を |
IReadOnlyEntityTypeMappingFragment.EntityType |
フラグメントが定義されているエンティティ型を取得します。 |
拡張メソッド
IsSqlReturningClauseUsed(IReadOnlyEntityTypeMappingFragment) |
テーブルへの変更を保存するときに SQL RETURNING 句を使用するかどうかを示す値を返します。 RETURNING 句は、仮想テーブルや AFTER トリガーを含むテーブルなど、特定の Sqlite 機能と互換性がありません。 |
IsSqlOutputClauseUsed(IReadOnlyEntityTypeMappingFragment) |
関連付けられたテーブルへの変更を保存するときに SQL OUTPUT 句を使用するかどうかを示す値を返します。 OUTPUT 句は、トリガーを含むテーブルなど、特定のSQL Server機能と互換性がありません。 |
適用対象
Entity Framework