Source/NFX/DataAccess/CRUD/RowsetBase.cs
/// <summary>
/// Validates all rows in this rowset.
/// Override to perform custom validations.
/// 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 all rows in this rowset.
Override to perform custom validations.
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 all rows in this rowset . Override to perform custom validations . 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 row in this)
                {
                    var error = row.Validate(targetName);
                    if (error!=null) return error;
                }
                return null;
            }
public virtual Exception Validate ( string targetName ) { foreach ( var row in this ) { var error = row . Validate ( targetName ) ; if ( error != null ) return error ; } return null ; }
Validates all rows in this rowset.
Validates all rows in this rowset .
targetName
string