Enables/disables the deletion of persistent objects from the data source when they are removed from the specified collection.
public override void EnableObjectDeletionOnRemove(
Public Overrides Sub EnableObjectDeletionOnRemove(
collection As Object,
deleteObjectOnRemove As Boolean
A collection of persistent objects that are requested to be removed from the database along with their removal from the collection.
true, to enable the object deletion from the database along with their removal from the collection; false, to disable it.
This method works only with collections of the EFCollection type and its descendants.