I have exposed entity frame work DBContext's POCO entities to WCF (without tracking enabled) and through my client when i am trying to update a combination of Parent and related entieis. Only the parent entity is gets updated but child entity is not updated.
I am trying some thing like … A Customer has one or more Customer Address entities. In my client , I have added a new customer Adress , deleted an existing customer Address, and updated an existing Customer Address and modified some thing in Customer Object iteslf. Now, i want to update these changes at one shot.
Currently, it’s updating only the customer and ignoring the rest.
I was under impression that, with EF 4.1 the change tracking capablity has been improved and we can acheive this with out STE (self tracking entities). My assumption is correct? Can it possible with DBContext?. Any help or directions?