Click or drag to resize
WorkDataCollectorAdd Method (IEntityRelation)
Adds the specified relationship as an edge to use for a cascade delete. The start entity of the relationship specified (example: CustomerEntity.Relationships.OrderEntityUsingCustomerID: CustomerEntity is the start entity) has to be the PK side. The FK side is then deleted before the PK side is deleted.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.3.0.0 (5.3.0)
Syntax
public WorkDataCollector Add(
	IEntityRelation toAdd
)

Parameters

toAdd
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityRelation
To add.

Return Value

Type: WorkDataCollector
See Also