EntityCoreTFieldsGetCurrentFieldValue Method |
Gets the current value of the EntityField2 with the index fieldIndex.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.12.0.0 (5.12.0)
Syntaxpublic Object GetCurrentFieldValue(
int fieldIndex
)
Public Function GetCurrentFieldValue (
fieldIndex As Integer
) As Object
Parameters
- fieldIndex
- Type: SystemInt32
Index of EntityField2 to get the current value of
Return Value
Type:
ObjectThe current value of the EntityField2 specified
Implements
IEntityCoreGetCurrentFieldValue(Int32)
ExceptionsException | Condition |
---|
ORMEntityOutOfSyncException | When the entity is out of sync and needs to be refetched first. |
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