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?..

asked Jan 14 '11 at 12:26

Janosh's gravatar image

Janosh
47101015


One Answer:

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.

answered Jan 14 '11 at 12:49

Dmitri%20Maximov's gravatar image

Dmitri Maximov
22111211

Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
toggle preview

Subscription:

Once you sign in you will be able to subscribe for any updates here

Tags:

×574
×7
×1

Asked: Jan 14 '11 at 12:26

Seen: 8,164 times

Last updated: Jan 14 '11 at 12:49

powered by OSQA