Yes, the SOP object maps it, as so.
Set(s => s.Processes, m =>
{
m.Table("SOPProcess");
m.Cascade(Cascade.DeleteOrphans);
m.Fetch(CollectionFetchMode.Subselect);
m.Key(k =>
{
k.Column("SopId");
k.ForeignKey("FK_SOPProcess_SOP");
});
});
I've had trouble finding solid documentation on this stuff, so please point out
my dumb mistakes.
--
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/-/_Lzf3fkUBLUJ.
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.