Click or drag to resize

EntityFieldCoreCurrentValue Property

Gets the current value for this field and sets the new value for this field, by overwriting current value. The value in currentValue is discarded, versioning control has to save the original value of currentValue before this property is called.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.9.0.0 (5.9.0)
Syntax
public Object CurrentValue { get; set; }

Property Value

Type: Object

Implements

IEntityFieldCoreCurrentValue
Exceptions
ExceptionCondition
ORMFieldIsReadonlyExceptionThe field is set to readonly and not part of the PK.
ORMValueTypeMismatchExceptionThe value specified is not of the same DataType as this field.
Remarks
Calling this property directly will not trigger versioning control, thus calling this property directly is not recommended. Call IEntityCore.SetNewFieldValue(string, object)" instead. Type of the new value has to be the same as DataType, which is set in the constructor. If this field is set to readonly, an exception is raised.
See Also