Hi Alexander,
Even if this is a console application (i.e. 2-tier app) you still have the concept of client and server.
When you set:
myEntityManager.VerifierEngine.DefaultVerifierOptions.ShouldTreatEmptyStringAsNull = false;
in your console app, it's as if you were changing the VerifierEngine options in the client.
You'd still need to change this setting in the server. You would be able to do that via SaveInterceptor:
class SaveInterceptor : EntityServerSaveInterceptor {
protected override bool ValidateSave() {
EntityManager.VerifierEngine.DefaultVerifierOptions.ShouldTreatEmptyStringAsNull = false;
return base.ValidateSave();
}
}
Regards,Silvio.