New Posts New Posts RSS Feed: Verifier Engine Enabled property
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Verifier Engine Enabled property

 Post Reply Post Reply
Author
rclarke View Drop Down
Groupie
Groupie


Joined: 14-Jun-2007
Location: United States
Posts: 69
Post Options Post Options   Quote rclarke Quote  Post ReplyReply Direct Link To This Post Topic: Verifier Engine Enabled property
    Posted: 07-Sep-2011 at 6:42am
I have a situation where I want to bypass DefForce verification for a batch process to improve performance and I know that any saves to the database will be valid. I set the VerifierEngine.Enabled property to false i.e.
 _persistanceGateway.EntityMgr.VerifierEngine.Enabled = False
 
In my saving handler I even test this property and bypass any calls I may make to force validation. 
Verifiers still fire however. Breakpoints on verifiers still break. If I debug the verifiesContext paramater within 
the verifier is says the verifier engine is Ideablade.Validation.ConcurrentVerification and it is enabled. 
Where is this verifier engine assigned and how do force the use of the verifier engine associated 
with my Entity Manager? This happens with DevForce 6.0.9. 
Back to Top
DenisK View Drop Down
IdeaBlade
IdeaBlade


Joined: 25-Aug-2010
Posts: 715
Post Options Post Options   Quote DenisK Quote  Post ReplyReply Direct Link To This Post Posted: 07-Sep-2011 at 11:14am
Hi rclarke;

You've probably have disabled the client's side VerifierEngine but not the server's. By default, the server will always do validation upon a save call with its own VerifierEngine.

Please see this post for similar question and its answers.


Hope this helps.
Back to Top
rclarke View Drop Down
Groupie
Groupie


Joined: 14-Jun-2007
Location: United States
Posts: 69
Post Options Post Options   Quote rclarke Quote  Post ReplyReply Direct Link To This Post Posted: 08-Sep-2011 at 4:29am
Yeah, that's it. Thank you for your prompt reply.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down