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

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -