Click or drag to resize

PFDataCollectionHasValueChanged Method (String, Boolean, Boolean)

Checks if the specified value has been modified since its loading from the database.

Namespace:  Packflow.Core
Assembly:  MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax
C#
public bool HasValueChanged(
	string fieldName,
	bool checkDisplayTexts,
	bool throwIfNotAvailable = false
)

Parameters

fieldName
Type: SystemString
Name of the SQL column or of the PFField.
checkDisplayTexts
Type: SystemBoolean
Determines whether the display texts of the values should represent a value change (e.g. display text in the choice values, or display names in user values).
throwIfNotAvailable (Optional)
Type: SystemBoolean
If the value is not available in the collection, True = Exception, False = return False.

Return Value

Type: Boolean
True if the value changed.
Exceptions
ExceptionCondition
ObjectNotFoundExceptionData entry not found.
See Also