Print Page | Close Window

Verifier Engine Enabled property

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2010
Forum Discription: For .NET 4.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=2953
Printed Date: 12-Apr-2026 at 6:10am


Topic: Verifier Engine Enabled property
Posted By: rclarke
Subject: Verifier Engine Enabled property
Date 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. 



Replies:
Posted By: DenisK
Date 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.

http://www.ideablade.com/forum/forum_posts.asp?TID=2298&PID=9077#9077 - http://www.ideablade.com/forum/forum_posts.asp?TID=2298&PID=9077#9077

Hope this helps.


Posted By: rclarke
Date Posted: 08-Sep-2011 at 4:29am
Yeah, that's it. Thank you for your prompt reply.



Print Page | Close Window