Click or drag to resize

BcfTableTRowLoad Method (IDictionaryString, Object, Boolean)

Loads the specified values into a row.

Namespace:  CalculationWorks.BusinessModel
Assembly:  CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 4.2.0
Syntax
public virtual TRow Load(
	IDictionary<string, Object> values,
	bool update = true
)

Parameters

values
Type: System.Collections.GenericIDictionaryString, Object
The values.
update (Optional)
Type: SystemBoolean
allows updating row with matching primary key.

Return Value

Type: TRow
The BcfRow the values were loaded.
Exceptions
ExceptionCondition
InvalidOperationException

BcfDataSet is Locked.

or

update is and multiple rows with matching primary keys are found.

BcfUpdateExceptionSee exception for the reason.
Remarks

If update is and a row with matching primary key is found this row will be updated; otherwise values are loaded into a new row.

The updates will be performed in order of column-index (lowest first).

When updating a row with RowState==Validtriggers will be invoked.

See Also