I have classes that inherit Xtensive.Storage.Entity. I want to use these classes in non persistent scenarios, i.e. I want to use the classes without saving them in the databases, or at least not to save them until the user presses save button. The problem is that I cannot call new operator on all classes that inherit Xtensive.Storage.Entity unless the call is inside a session scope.

Is there a way to override this limitation?

This thread was imported from our support forum. The original discussion may contain more detailed answer. Original topic by muhammadadel.

asked May 06 '10 at 07:06

Editor's gravatar image



please refer to http://dataobjectsdotnet.googlecode.com/hg/Manual/06-DisconnectedOperations.htm for further information on the subject.

(May 06 '10 at 07:06) Dmitri Maximov Dmitri%20Maximov's gravatar image
Be the first one to answer this question!
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


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



Asked: May 06 '10 at 07:06

Seen: 1,118 times

Last updated: May 06 '10 at 07:06

powered by OSQA