EntityCoreTFieldsSetNewFieldValue 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.4.0.0 (5.4.0)
Syntax public bool SetNewFieldValue(
string fieldName,
Object value
)
Public 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.
Implements
IEntityCoreSetNewFieldValue(String, Object)Exceptions See Also