Language

ReferentialConstraint クラス

定義

このクラスは、リレーションシップの "to" と "from" の端を指定する 2 つのエンティティ間の参照制約を表します。

public sealed class ReferentialConstraint : System.Data.Entity.Core.Metadata.Edm.MetadataItem
type ReferentialConstraint = class
    inherit MetadataItem
Public NotInheritable Class ReferentialConstraint
Inherits MetadataItem
継承
ReferentialConstraint

コンストラクター

Name 説明
ReferentialConstraint(RelationshipEndMember, RelationshipEndMember, IEnumerable<EdmProperty>, IEnumerable<EdmProperty>)

リレーションシップに対する新しい制約を構築します。

プロパティ

Name 説明
BuiltInTypeKind

この ReferentialConstraintの組み込み型の種類を取得します。

Documentation

この型に関連付けられているドキュメントを取得または設定します。

(継承元 MetadataItem)
FromProperties

この ReferentialConstraint が定義されている "from role" のプロパティの一覧を取得します。

FromRole

この ReferentialConstraint に含まれる "from role" を取得します。

MetadataProperties

現在の型のプロパティの一覧を取得します。

(継承元 MetadataItem)
ToProperties

この ReferentialConstraint が定義されている "to role" のプロパティの一覧を取得します。

ToRole

この ReferentialConstraintに含まれる "to role" を取得します。

メソッド

Name 説明
AddAnnotation(String, Object)

指定した名前と値で注釈を追加または更新します。

(継承元 MetadataItem)
RemoveAnnotation(String)

指定した名前の注釈を削除します。

(継承元 MetadataItem)
ToString()

FromRoleとToRoleの名前の組み合わせを返します。

適用対象