 | 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
Syntaxpublic IEnumerable<BcfCell> DiffCells(
BcfRow otherRow,
Func<BcfColumn, bool> columnPredicate = null,
BcfValueComparisonMode comparisonMode = BcfValueComparisonMode.Value,
bool format = true,
bool pragmaticNull = false
)
Public Function DiffCells (
otherRow As BcfRow,
Optional columnPredicate As Func(Of BcfColumn, Boolean) = Nothing,
Optional comparisonMode As BcfValueComparisonMode = BcfValueComparisonMode.Value,
Optional format As Boolean = true,
Optional pragmaticNull As Boolean = false
) As IEnumerable(Of BcfCell)
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:
IEnumerableBcfCellA value indicating whether specified
otherRow has equal cell-values.
Exceptions
Remarks
When comparing rows of same table formatting will be omitted and the format parameter will be ignored.
See Also