Click or drag to resize

IEntityCoreGetCurrentFieldValue Method

Gets the current value of the EntityField with the index fieldIndex. Will refetch the complete entity's fields from the database if necessary (i.e. the entity is outofsync.).

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax
Object GetCurrentFieldValue(
	int fieldIndex
)

Parameters

fieldIndex
Type: SystemInt32
Index of EntityField to get the current value of

Return Value

Type: Object
The current value of the EntityField specified
Exceptions
ExceptionCondition
ORMEntityIsDeletedExceptionWhen the entity is marked as deleted.
ArgumentOutOfRangeExceptionWhen fieldIndex is smaller than 0 or bigger than the amount of fields in the fields collection.
See Also