Click or drag to resize

BcfRowDiffCells Method

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.2.0
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
to format otherRow-values before comparison.
pragmaticNull (Optional)
Type: SystemBoolean
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 .
Remarks
When comparing rows of same table formatting will be omitted and the format parameter will be ignored.
See Also