Hi,
let's assume two entities: customers, orders - linked 1:n
With the adapter approach, I can use the entity objects customerEntity and orderEntity and the corresponding collections independently of the adapter.
When I add a new orderEntity to the corresponding ordersCollection, will it then be checked whether the corresponding customer exists in the customerCollection, even without using the adapter?
I ask this, because we plan to transport entity objects to a client PC. We want to provide support for the client to work offline. We plan to save serialized entity collections in an isolated storage, when the client is offline. We plan to allow the client to change the data in the isolated storage and later synchronize with the server database.
There is no database on the client. There is therefore no adapter. Only the independent entity objects/collections, which are changed by the user in offline mode.
Thanks a lot for your help.
Regards, Mario