MetadataWorkspaceExtensions.GetOnDelete Method (AssociationEndMember)

 

This will get the value of the OnDelete element on the AssociationEnd 1. This will return 'None' if the end and its sibling end have 'Cascade' specified 2. This will return 'None' if the end's multiplicity is Many (*)

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

public static OperationAction GetOnDelete(
	this AssociationEndMember end
)

Parameters

end
Type: System.Data.Entity.Core.Metadata.Edm.AssociationEndMember

The AssociationEnd.

Return Value

Type: System.Data.Entity.Core.Metadata.Edm.OperationAction

The value of the OnDelete element.