IEntityCoreSetNewFieldValue Method (String, Object) |
Sets the EntityField with the name fieldName to the new value value. Marks also the entityfields as dirty. 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.7.0.0 (5.7.0)
Syntax bool SetNewFieldValue(
string fieldName,
Object value
)
Function SetNewFieldValue (
fieldName As String,
value As Object
) As Boolean
Parameters
- fieldName
- Type: SystemString
Name of EntityField to set the new value of - value
- Type: SystemObject
Value to set
Return Value
Type:
Booleantrue if the value is actually set, false otherwise.
Exceptions See Also