Click or drag to resize

BcfRowIsAdequateRow Method

[This is preliminary documentation and is subject to change.]

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.0.0-beta7
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
true if adequate; otherwise false.
Exceptions
ExceptionCondition
ArgumentNullExceptionotherRow is null.
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