Click or drag to resize

BcfRowIsAdequateRow Method

Returns a value indicating otherRow is a adequate row of this using specified rowComparisonMode.

Namespace:  CalculationWorks.BusinessModel
Assembly:  CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 4.2.0
Syntax
public bool IsAdequateRow(
	BcfRow otherRow,
	BcfRowComparisonMode rowComparisonMode = BcfRowComparisonMode.PrimaryKey
)

Parameters

otherRow
Type: CalculationWorks.BusinessModelBcfRow
The row to compare.
rowComparisonMode (Optional)
Type: CalculationWorks.BusinessModelBcfRowComparisonMode
The row comparison mode.

Return Value

Type: Boolean
if adequate; otherwise .
Exceptions
ExceptionCondition
ArgumentNullExceptionotherRow is .
InvalidOperationExceptionrowComparisonMode is PrimaryKey (which is default) and

this rows Table has no PrimaryKey defined.

or

otherRow has not matching (name and type) columns of this rows primary key.

See Also