BusinessObject.DataSetHasViolations

Checks whether a certain dataset has business rules violations of a certain type.

public virtual bool DataSetHasViolations( DataSet currentDataSet,
	RuleViolationType violationType );

Return Value

True if violations are present

Parameters

currentDataSet
DataSet that may contain violations

violationType
Defines the type of violation we are looking for.

Overloads:

public virtual bool DataSetHasViolations( DataSet currentDataSet );

See also:

Class BusinessObject


  Last Updated: 5/23/2007 | © , 2007