AtomsFramework Persistence Layer Reference Guide

AssociationMap.DeleteAutomatic Property

[This is preliminary documentation and subject to change.]

The association will cause the target object(s) to be deleted when the source object is deleted.

[Visual Basic]
Public Property DeleteAutomatic As Boolean
[C#]
public bool DeleteAutomatic {get; set;}

Property Value

True if the target objects should be deleted when the source object is deleted.

Remarks

When the source object is deleted any target objects will also be deleted.

This property in conjuntion with the SaveAutomatic and RetrieveAutomatic properties can be used to implement object aggregations and compostions

See Also

AssociationMap Class | AtomsFramework Namespace