ReferentialConstraint Class

 

This class represents a referential constraint between two entities specifying the "to" and "from" ends of the relationship.

Namespace:   System.Data.Entity.Core.Metadata.Edm
Assembly:  EntityFramework (in EntityFramework.dll)

System.Object
  System.Data.Entity.Core.Metadata.Edm.MetadataItem
    System.Data.Entity.Core.Metadata.Edm.ReferentialConstraint

public sealed class ReferentialConstraint : MetadataItem

NameDescription
System_CAPS_pubpropertyBuiltInTypeKind

Gets the built-in type kind for this ReferentialConstraint.(Overrides MetadataItem.BuiltInTypeKind.)

System_CAPS_pubpropertyDocumentation

Gets or sets the documentation associated with this type.(Inherited from MetadataItem.)

System_CAPS_pubpropertyFromProperties

Gets the list of properties for the "from role" on which this ReferentialConstraint is defined.

System_CAPS_pubpropertyFromRole

Gets the "from role" that takes part in this ReferentialConstraint .

System_CAPS_pubpropertyMetadataProperties

Gets the list of properties of the current type.(Inherited from MetadataItem.)

System_CAPS_pubpropertyToProperties

Gets the list of properties for the "to role" on which this ReferentialConstraint is defined.

System_CAPS_pubpropertyToRole

Gets the "to role" that takes part in this ReferentialConstraint.

NameDescription
System_CAPS_pubmethodAddAnnotation(String, Object)

Adds or updates an annotation with the specified name and value.(Inherited from MetadataItem.)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodRemoveAnnotation(String)

Removes an annotation with the specified name.(Inherited from MetadataItem.)

System_CAPS_pubmethodToString()

Returns the combination of the names of the FromRole and the ToRole .(Overrides Object.ToString().)

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