Click or drag to resize

BcfRowSetNullableT Method (String, NullableT)

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

Sets the value stored in column with specified columnName>. If value is null and column is of not-nullable type, the columns DefaultValue will be applied.

Namespace:  CalculationWorks.BusinessModel
Assembly:  CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 4.0.0-beta6
Syntax
public void SetNullable<T>(
	string columnName,
	Nullable<T> value
)
where T : struct, new()

Parameters

columnName
Type: SystemString
The column name.
value
Type: SystemNullableT
The value.

Type Parameters

T
The not-nullable value type.
Exceptions
ExceptionCondition
ArgumentNullExceptioncolumnName is null.
ArgumentExceptionThe column specified by columnName cannot be found.
InvalidCastExceptionThe ValueType of column with specified columnName is not of type T and not T?.
BcfUpdateExceptionSee exception for the reason.
Version Information

BCF

Supported in: 4.0
See Also