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.12.0.0 (5.12.0)
SyntaxObject GetCurrentFieldValue(
int fieldIndex
)
Function GetCurrentFieldValue (
fieldIndex As Integer
) As Object
Parameters
- fieldIndex
- Type: SystemInt32
Index of EntityField to get the current value of
Return Value
Type:
ObjectThe current value of the EntityField specified
ExceptionsException | Condition |
---|
ORMEntityIsDeletedException | When the entity is marked as deleted. |
ArgumentOutOfRangeException | When fieldIndex is smaller than 0 or bigger than the amount of fields in the fields collection. |
See Also