Just trying an upgrade to V5 beta and have this message on compile:

Error 27 'Xtensive.Orm.Session' does not contain a definition for 'DisableValidation' and no extension method 'DisableValidation' accepting a first argument of type 'Xtensive.Orm.Session' could be found (are you missing a using directive or an assembly reference?)

I disable data validation when loading data on startup. I s this going to be put back in on subsequent releases.

Tony

asked Feb 02 '14 at 09:49

Tony's gravatar image

Tony
53262628


One Answer:

Hello Tony,

we reworked validation framework in DO5.

In particular DisableValidation() method is no longer required because validation happens only in two cases:

  • Just before transaction is committed
  • Explicit Session.Validate() call

This means that your code don't need to call DisableValidation to achieve old behavior.

answered Feb 03 '14 at 05:36

Denis%20Krjuchkov's gravatar image

Denis Krjuchkov
179325

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:

×3

Asked: Feb 02 '14 at 09:49

Seen: 1,559 times

Last updated: Feb 03 '14 at 05:36

powered by OSQA