c# - How to save one child collection before another? -
suppose have entity class:
public class box { public virtual int id { set; get; } public virtual ilist<ball> balls { set; get; } public virtual ilist<toy> toys { set; get; } ... }
how can map entity, using fluent nhibernate, in way when save box, child toys saved before child balls? (both collections being saved in cascade)
Comments
Post a Comment