Click or drag to resize
FieldUtilitiesDetermineIfFieldShouldBeSet Method
Determines if the field should be set to the value passed in.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax
public static bool DetermineIfFieldShouldBeSet(
	bool fieldIsChanged,
	Object currentValue,
	Object dbValue,
	bool entityIsNew,
	Object value
)

Parameters

fieldIsChanged
Type: SystemBoolean
if set to true [field is changed].
currentValue
Type: SystemObject
The current value.
dbValue
Type: SystemObject
The db value.
entityIsNew
Type: SystemBoolean
if [entity is new]; otherwise, .
value
Type: SystemObject
Value.

Return Value

Type: Boolean
true if the field should be set with the value, false otherwise
See Also