Hello all,
I've added a validation class to my entity and it works well.
But what I don't want to have to do is the database validation that is already built into LLBLGEN.
For example character length of a field or if null etc etc...
Now this is done by LLBLGEN, but I don't know how to incorporate this into my validation class?
Reading the extract from the help file, it says the following
Entity field validation, which is triggered by SetNewFieldValue(), sets the field error if an exception occurs or when the custom field validator fails. The error message is appended to an existing message.
So I was wondering how to use this in my
<DependencyInjectionInfo(GetType(myEntity), "Validator", _
ContextType:=DependencyInjectionContextType.Singleton)> _
Public Class myValidator
end class