Click or drag to resize
CalculationWorks Logo
BcfTableLoad Method (Object, Boolean)
Loads the specified values into one new row and adds it to table.

Namespace: CalculationWorks.BusinessModel
Assembly: CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 3.0.2.0
Syntax
public BcfRow Load(
	Object[] values,
	bool optimistic
)

Parameters

values
Type: SystemObject
The values.
optimistic
Type: SystemBoolean
if set to true operation will be executed in CurrentTransaction and in case of error the transaction has to be discarded ( Rollback). Otherwise operation will be executed in a subtransaction of CurrentTransaction in case of error the subtransaction will be discarded without affecting CurrentTransaction. For best performance set optimistic to true. Default is true.

Return Value

Type: BcfRow
BcfRow.
Exceptions
ExceptionCondition
ArgumentNullExceptionvalues is null
InvalidOperationException

dataset is locked; e.g. BcfDataSet is just switching the current transaction or is undoing/redoing.

do not call this method e.g. from inside BcfFunctionBase, BcfValidatorBase nor IBcfUndoRedoItem

Version Information

CalculationWorks.BusinessModel

Supported in: 3.0, 2.1, 2.0
See Also