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

c++ - End of file on pipe magic during open -

basic authentication with http post params android -

data.table making a copy of table in R -