I'm thinking about pattern usage on client side. Manual for v.4.4 says that Session could be used as implementation of the pattern. As i remember, in WCF sample the DisconnectedState and MovableLog is used to send the changes from client to service. DisconnectedState also has methods for Acceptance and Cancellation of the changes. What is better to use as Unit Of Work implementation on client side?.. |
Janosh, in case you are talking about 3-tier architecture and above, the only way for you is to utilize DisconectedState approach or manually map DTOs to Entities and vice versa. ClientSession from version 4.4 is intended to be used in 2-tier applications only. Hope that helps. |