Table of Contents

CascadeTypeAllButRemove Constant

Predefined cascade set that includes all cascade types except Remove and RemoveOrphan.

Remarks

Use this value when you want cascading saves, merges, refreshes, evicts, and flushes, but do not want deleting the parent to automatically delete associated objects. This is the most commonly recommended cascade for many-to-one Association members.

Syntax

Unit: Aurelius.Mapping.Metadata

const CascadeTypeAllButRemove = [SaveUpdate..Merge,Refresh..Flush];