IEntityFieldCoreCurrentValue 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.2.0.0 (5.2.17.0403)
Syntax Object CurrentValue { get; set; }
Property CurrentValue As Object
Get
Set
Property Value
Type:
ObjectExceptions 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 IFieldInfo.DataType, which is set in the
constructor. If this field is set to readonly, an exception is raised.
See Also