Create and add child

4 replies. Last post: March 18, 2015 2:19 PM by Fabian Höger
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

I am trying to add an item and some childs with one submit, but this does lead to an error.

What ist the regular way to add childs and child of child? An example would be nice. 

this.Item = this.Repository.Create();

this.Repository.Insert(this.Item);

this.Item.Childs.Add(new Child());

this.Repository.SaveChangesAsync();


All times are GMT -5. The time now is 1:52 AM.
Previous Next