This question is locked. New answers and comments are not allowed.
Hi There,
I've exposed my OpenAccess generated classes via ADO.Net data services. I am wondering how to deal with the following scenario where I have a relationship between Order and OrderDetail and I would like to create both objects at the same time and have the OrderID automatically pushed into the OrderDetail before it is saved.
With my current approach of settings the data values on the client things don't seem to magically happen in the service as I get null insert exception. I am expecting that my both my Order and OrderDetail are sent for saving and the Order is done first, then its primary key is used to insert the OrderDetail.
Any help here would be much appreciated.
Robert