Click or drag to resize
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.1.0.0 (5.1.0)
Syntax
public bool SetNewFieldValue(
	int fieldIndex,
	Object value
)

Parameters

fieldIndex
Type: SystemInt32
Index of EntityField2 to set the new value of
value
Type: SystemObject
Value to set

Return Value

Type: Boolean
true if the value is actually set, false otherwise.

Implements

IEntityCoreSetNewFieldValue(Int32, Object)
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionWhen fieldIndex is smaller than 0 or bigger than the amount of fields in the fields collection.
See Also