EdmRelationshipAttribute Class

 

Defines a relationship between two entity types based on an association in the conceptual model.

Namespace:   System.Data.Entity.Core.Objects.DataClasses
Assembly:  EntityFramework (in EntityFramework.dll)

System.Object
  System.Attribute
    System.Data.Entity.Core.Objects.DataClasses.EdmRelationshipAttribute

[AttributeUsageAttribute(AttributeTargets.Assembly, AllowMultiple = true)]
public sealed class EdmRelationshipAttribute : Attribute

NameDescription
System_CAPS_pubpropertyIsForeignKey

Gets a Boolean value that indicates whether the relationship is based on the foreign key value.

System_CAPS_pubpropertyRelationshipName

Name of the relationship.

System_CAPS_pubpropertyRelationshipNamespaceName

The namespace for the relationship.

System_CAPS_pubpropertyRole1Multiplicity

Multiplicity at one end of the relationship.

System_CAPS_pubpropertyRole1Name

Name of the role at one end of the relationship.

System_CAPS_pubpropertyRole1Type

Type of the entity at one end of the relationship.

System_CAPS_pubpropertyRole2Multiplicity

Multiplicity at the other end of the relationship.

System_CAPS_pubpropertyRole2Name

Name of the role at the other end of the relationship.

System_CAPS_pubpropertyRole2Type

Type of the entity at the other end of the relationship.

System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodMatch(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.