ReferentialConstraint Class
This class represents a referential constraint between two entities specifying the "to" and "from" ends of the relationship.
Assembly: EntityFramework (in EntityFramework.dll)
System.Data.Entity.Core.Metadata.Edm.MetadataItem
System.Data.Entity.Core.Metadata.Edm.ReferentialConstraint
Name | Description | |
---|---|---|
![]() | ReferentialConstraint(RelationshipEndMember, RelationshipEndMember, IEnumerable<EdmProperty>, IEnumerable<EdmProperty>) | Constructs a new constraint on the relationship |
Name | Description | |
---|---|---|
![]() | BuiltInTypeKind | Gets the built-in type kind for this ReferentialConstraint.(Overrides MetadataItem.BuiltInTypeKind.) |
![]() | Documentation | Gets or sets the documentation associated with this type.(Inherited from MetadataItem.) |
![]() | FromProperties | Gets the list of properties for the "from role" on which this ReferentialConstraint is defined. |
![]() | FromRole | Gets the "from role" that takes part in this ReferentialConstraint . |
![]() | MetadataProperties | Gets the list of properties of the current type.(Inherited from MetadataItem.) |
![]() | ToProperties | Gets the list of properties for the "to role" on which this ReferentialConstraint is defined. |
![]() | ToRole | Gets the "to role" that takes part in this ReferentialConstraint. |
Name | Description | |
---|---|---|
![]() | AddAnnotation(String, Object) | Adds or updates an annotation with the specified name and value.(Inherited from MetadataItem.) |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | RemoveAnnotation(String) | Removes an annotation with the specified name.(Inherited from MetadataItem.) |
![]() | ToString() | 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.