AssociationType.ReferentialConstraints Property

 

Gets the list of constraints for this AssociationType.

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

public ReadOnlyMetadataCollection<ReferentialConstraint> ReferentialConstraints { get; }

Property Value

Type: System.Data.Entity.Core.Metadata.Edm.ReadOnlyMetadataCollection<ReferentialConstraint>

A collection of type ReadOnlyMetadataCollection<T> that contains the list of constraints for this AssociationType .