Click or drag to resize

BcfRowIsAdequateRowOf Method

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

Namespace:  CalculationWorks.BusinessModel
Assembly:  CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 4.2.0
Syntax
public bool IsAdequateRowOf(
	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

otherRows Table has no PrimaryKey defined.

or

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

See Also