[This is preliminary documentation and is subject to change.]
Validates row field using Schema.FieldDef settings.
This method is invoked by base Validate() implementation.
The method is not expected to throw exception in case of failed validation, rather return exception instance because
throwing exception really hampers validation performance when many rows need to be validated
Namespace: NFX.DataAccess.CRUDAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public virtual Exception ValidateField(
string targetName,
Schema..::..FieldDef fdef
)
public virtual Exception ValidateField(
string targetName,
Schema..::..FieldDef fdef
)
Public Overridable Function ValidateField (
targetName As String,
fdef As Schema..::..FieldDef
) As Exception
Public Overridable Function ValidateField (
targetName As String,
fdef As Schema..::..FieldDef
) As Exception
public:
virtual Exception^ ValidateField(
String^ targetName,
Schema..::..FieldDef^ fdef
)
public:
virtual Exception^ ValidateField(
String^ targetName,
Schema..::..FieldDef^ fdef
)
abstract ValidateField :
targetName : string *
fdef : Schema..::..FieldDef -> Exception
override ValidateField :
targetName : string *
fdef : Schema..::..FieldDef -> Exception
abstract ValidateField :
targetName : string *
fdef : Schema..::..FieldDef -> Exception
override ValidateField :
targetName : string *
fdef : Schema..::..FieldDef -> Exception
Return Value
Type:
Exception