views:

24

answers:

0

I am trying out OData and have a scenario were a customer would like to submit an order. The order will contain/require order items and there is some validation that needs to take place.

So say I have Order(customerid, etc...) Order Item (1) Order Item (2) etc...

I am curious how to handle this scenario. I've seen examples on how to add/update single entities but not multiples at once. Ideally it should be in one batch or transactional so I can revert if the data is invalid or doesn't meet a business rule.

Examples / pointers are appreciated.