EntityCoreTFieldsSetNewFieldValue Method (Int32, Object) |
Sets the EntityField2 on index fieldIndex to the new value value. Marks also the entityfields2 as dirty.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.8.0.0 (5.8.21.0111)
Syntax public bool SetNewFieldValue(
int fieldIndex,
Object value
)
Public Function SetNewFieldValue (
fieldIndex As Integer,
value As Object
) As Boolean
Parameters
- fieldIndex
- Type: SystemInt32
Index of EntityField2 to set the new value of - value
- Type: SystemObject
Value to set
Return Value
Type:
Booleantrue if the value is actually set, false otherwise.
Implements
IEntityCoreSetNewFieldValue(Int32, Object)Exceptions Exception | Condition |
---|
ArgumentOutOfRangeException | When fieldIndex is smaller than 0 or bigger than the amount of fields in the fields collection. |
See Also