3
如何設置級聯全部刪除孤兒與NHibernate的代碼映射?NHibernate映射的代碼級聯全部刪除孤兒
[Flags]
public enum Cascade
{
None = 0,
Persist = 2,
Refresh = 4,
Merge = 8,
Remove = 16,
Detach = 32,
ReAttach = 64,
DeleteOrphans = 128,
All = 256,
}
我該怎麼組合所有& DeleteOrphans?
能否請您發佈您的代碼,而不是你的代碼截圖? – 2015-02-06 14:29:00
@andrew對不起。請等一秒鐘。 – soumer 2015-02-06 14:29:49