Click or drag to resize

BcfRowDiffCells Method

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

Returns cells of this row having same column name but different value as cell of otherRow.

Namespace:  CalculationWorks.BusinessModel
Assembly:  CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 4.0.0-beta7
Syntax
public IEnumerable<BcfCell> DiffCells(
	BcfRow otherRow,
	Func<BcfColumn, bool> columnPredicate = null,
	BcfValueComparisonMode comparisonMode = BcfValueComparisonMode.Value,
	bool format = true,
	bool pragmaticNull = false
)

Parameters

otherRow
Type: CalculationWorks.BusinessModelBcfRow
The row to compare with.
columnPredicate (Optional)
Type: SystemFuncBcfColumn, Boolean
A function to test each column for a condition.
comparisonMode (Optional)
Type: CalculationWorks.BusinessModelBcfValueComparisonMode
The comparison mode.
format (Optional)
Type: SystemBoolean
true to format otherRow-values before comparison.
pragmaticNull (Optional)
Type: SystemBoolean
true to use default(T) as null-value on not nullable columns.

Return Value

Type: IEnumerableBcfCell
A value indicating whether specified otherRow has equal cell-values.
Exceptions
ExceptionCondition
ArgumentNullExceptionotherRow is null.
Remarks
When comparing rows of same table formatting will be omitted and the format parameter will be ignored.
See Also