Language

EdmRelationshipAttribute クラス

定義

概念モデルの関連付けに基づいて、2 つのエンティティ型間のリレーションシップを定義します。

[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)]
public sealed class EdmRelationshipAttribute : Attribute
type EdmRelationshipAttribute = class
    inherit Attribute
Public NotInheritable Class EdmRelationshipAttribute
Inherits Attribute
継承
EdmRelationshipAttribute
属性

コンストラクター

Name 説明
EdmRelationshipAttribute(String, String, String, RelationshipMultiplicity, Type, String, RelationshipMultiplicity, Type, Boolean)

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

EdmRelationshipAttribute(String, String, String, RelationshipMultiplicity, Type, String, RelationshipMultiplicity, Type)

EdmRelationshipAttribute クラスのインスタンスを作成します。

プロパティ

Name 説明
IsForeignKey

リレーションシップが外部キー値に基づいているかどうかを示すブール値を取得します。

RelationshipName

リレーションシップの名前です。

RelationshipNamespaceName

リレーションシップの名前空間。

Role1Multiplicity

リレーションシップの一方の端での多重度。

Role1Name

リレーションシップの一方の端にあるロールの名前。

Role1Type

リレーションシップの一方の端にあるエンティティの型。

Role2Multiplicity

リレーションシップのもう一方の端の多重度。

Role2Name

リレーションシップのもう一方の端にあるロールの名前。

Role2Type

リレーションシップのもう一方の端にあるエンティティの型。

適用対象