Click or drag to resize

BcfRowIsAdequateRowOf Method

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

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