Hello Guys,
I have a relatively simpel question, im using the validation dep. injection.
I don't want to call the "return base.ValidateFieldValue(involvedEntity, fieldIndex, value);" because it generatos not friendely error messages for my users.
My question is, when i do not call this method, do i need to check if the "object value" wich is passed through the "public override bool ValidateFieldValue()" method, also is correct for the given data type? and also is within the given length boundaries (for strings and int's etc) or is this already done by the frame work before this method is called en will this never be a problem?
In het Validor base a read the text "after the value has passed validation for destination column type and null values"
Just to make sure that i ask my question straight, if i have a datetime field "startdate" in my database, and some idiot inputs a date time in a textbox that is not a parseable date time, (via data binding) what happens?
Regards,
Joey
// Summary:
// Validates the given EntityFieldCore object on the given fieldIndex with the
// given value. This routine is called by the Entity's own value validator
// after the value has passed validation for destination column type and null
// values.