MetadataWorkspaceExtensions.GetAllReferentialConstraints Method (StoreItemCollection)

 

Retrieves an enumerable collection of all ReferentialConstraints in this SSDL/StoreItemCollection

Namespace:   Microsoft.Data.Entity.Design.DatabaseGeneration
Assembly:  Microsoft.Data.Entity.Design.DatabaseGeneration (in Microsoft.Data.Entity.Design.DatabaseGeneration.dll)

public static IEnumerable<ReferentialConstraint> GetAllReferentialConstraints(
	this StoreItemCollection storeItemCollection
)

Parameters

storeItemCollection
Type: System.Data.Entity.Core.Metadata.Edm.StoreItemCollection

StoreItemCollection representing the SSDL

Return Value

Type: System.Collections.Generic.IEnumerable<ReferentialConstraint>

The list of ReferentialConstraints.