Click or drag to resize

BcfTableLoad Method (IEnumerableBcfRow, BcfRowMergeOption, BcfRowComparisonMode, FuncBcfColumn, Boolean, Boolean)

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

Loads cell-values of specified distinctSourceRows.

Namespace:  CalculationWorks.BusinessModel
Assembly:  CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 4.0.0-beta7
Syntax
public ImmutableDictionary<BcfRow, BcfRow> Load(
	IEnumerable<BcfRow> distinctSourceRows,
	BcfRowMergeOption mergeOption = BcfRowMergeOption.Merge,
	BcfRowComparisonMode rowComparisonMode = BcfRowComparisonMode.PrimaryKey,
	Func<BcfColumn, bool> columnPredicate = null,
	bool pragmaticNull = false
)

Parameters

distinctSourceRows
Type: System.Collections.GenericIEnumerableBcfRow
The source rows.
mergeOption (Optional)
Type: CalculationWorks.BusinessModelBcfRowMergeOption
The merge option.
rowComparisonMode (Optional)
Type: CalculationWorks.BusinessModelBcfRowComparisonMode
The row comparison mode.
columnPredicate (Optional)
Type: SystemFuncBcfColumn, Boolean
A function to test each column for a condition.
pragmaticNull (Optional)
Type: SystemBoolean
true to use default(T) as null-value on not nullable columns.

Return Value

Type: ImmutableDictionaryBcfRow, BcfRow
The target row (added or modified).
Exceptions
ExceptionCondition
ArgumentNullExceptiondistinctSourceRows is null.
ArgumentExceptiondistinctSourceRows contains non-distinct items.
InvalidOperationException

BcfDataSet is Locked

BcfUpdateExceptionSee exception for the reason.
See Also