CalculationWorks Logo
BcfColumnValueSetterSetValue Method CalculationWorks BCF Library 1.1 for .NET Framework 4.5

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

Sets the value.

Namespace: CalculationWorks.BusinessModel.Behaviors
Assembly: CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 1.1.0.0
Syntax

public virtual void SetValue(
	BcfCell cell,
	Object value
)

Parameters

cell
Type: CalculationWorks.BusinessModelBcfCell
The cell.
value
Type: SystemObject
The value.
Exceptions

ExceptionCondition
ArgumentNullExceptioncell is null
Remarks

Computed and default values do not pass this method.

When overriding base method invocation can be omitted. You can redirect the write attempts to other columns. This the only chance to make computed columns editable.

Try to avoid reading computed values from the dataset. If you have to and a transaction is running the values you get may be outdated until BcfTransaction.Compute(Boolean) was called since the last SetValue().

See Also

Reference