I have a question on Cascade enum options behavior when using NHibernate Mapping By Code.
Enum has following options:
[Flags]
public enum Cascade
{
None = 0,
Persist = 2,
Refresh = 4,
Merge = 8,
Remove = 16,
Detach = 32,
ReAttach = 64,
DeleteOrphans = 128,
All = 256,
}
They are intended to be used like bit flag combinations (as far as I get it).
I've looked thru NHibernate documentation, and the following cascade options for XML mappings are defined there: Lifecycles and object graphs
Can anyone describe cascade options from new Nhibernate mapping by code? Half of them are self describing, other half is not.
All
should really include all of the bitwise flags... – Gothard