Source/NFX/DataAccess/CRUD/Row.cs
/// <summary>
/// Validates row using row schema and supplied field definitions.
/// Override to perform custom validations,
/// i.e. TypeRows may directly access properties and write some validation type-safe code
/// 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
/// </summary>
Validates row using row schema and supplied field definitions.
Override to perform custom validations,
i.e. TypeRows may directly access properties and write some validation type-safe code
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
Validates row using row schema and supplied field definitions . Override to perform custom validations i . e . TypeRows may directly access properties and write some validation type - safe code 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
public virtual Exception Validate(string targetName)
            {
                foreach(var fd in Schema)
                {
                    var error = ValidateField(targetName, fd);
                    if (error!=null) return error;
                }
                return null;
            }
public virtual Exception Validate ( string targetName ) { foreach ( var fd in Schema ) { var error = ValidateField ( targetName , fd ) ; if ( error != null ) return error ; } return null ; }
Validates row using row schema and supplied field definitions.
Validates row using row schema and supplied field definitions .
targetName
string