Cascade is a comma separated value.
"all-delete-orphan" is just the backdraw compatibility way to define "all, 
delete-orphan".
Cascade is a [Flags] enums, to know how it works you can use MSDN 
documentation.
http://msdn.microsoft.com/en-us/library/system.flagsattribute.aspx

The Cascade enum has this doc:
/// <summary>
/// Defines behavior of soft-cascade actions.
/// </summary>
/// <remarks>
/// To check the content or to include/exclude values, from cascade, is 
strongly recommanded the usage of extensions methods defined in <see 
cref="CascadeExtensions"/>
/// </remarks>
/// <seealso cref="CascadeExtensions.Has"/>
/// <seealso cref="CascadeExtensions.Include"/>
/// <seealso cref="CascadeExtensions.Exclude"/>

and the most "intuitive" (that is a matter of opinions/taste) way to use it 
is:
map.Cascade(Cascade.All.Include(Cascade.DeleteOrphans));


-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/nhusers/-/lMX5OzQoPXEJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to