With the new mapping by code methodology, is this the proper way to specify a cascade all-delete-orphans setting?
mapper.BeforeMapSet += (insp, typ, map) => map.Cascade(Cascade.All | Cascade.DeleteOrphans); I tried using & instead of |, which seems more natural, but that doesn't produce any result. With the | operator, the above produces: cascade="*all,delete-orphan*" Which is different from what I'm used to: cascade="*all-delete-orphan*" But appears to function equivalently. Thanks! Asher -- You received this message because you are subscribed to the Google Groups "nhusers" group. 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.
