Closed GoogleCodeExporter closed 9 years ago
Try the code below instead of line 15
_ProductGroup.ProductDeliveryOptionList.Add(pdo);
ctx.SubmitChanges();
This code should add the DeliveryOption and the result will be maintained in
the list.
Original comment by shannon....@gmail.com
on 2 Oct 2009 at 4:24
Thanks for your feedback.
Yes, adding new item to object collection list rather than context list
resolves the
issue.
But shouldn't it work using both approaches and why it does work when removing
items
e.g. both
ctx.ProductDeliveryOption.DeleteOnSubmit(pdo);
and
_ProductGroup.ProductDeliveryOptionList.DeleteOnSubmit(pdo);
works.
Thanks,
Oleg
Original comment by oleg.put...@gmail.com
on 3 Oct 2009 at 5:22
Original issue reported on code.google.com by
oleg.put...@gmail.com
on 25 Sep 2009 at 1:24