BaseObjectSpace.SetModified(Object, IMemberInfo) Method
Sets the state of the specified object to be Modified.
Namespace: DevExpress.ExpressApp
Assembly: DevExpress.ExpressApp.v24.1.dll
NuGet Package: DevExpress.ExpressApp
Declaration
Parameters
Name | Type | Description |
---|---|---|
obj | Object | A persistent object whose state is the subject to be Modified. |
memberInfo | IMemberInfo | An IMemberInfo object providing metadata on the property whose value has been changed. |
Remarks
Generally, the changes made to persistent object properties are tracked, to then be committed (see BaseObjectSpace.CommitChanges). For the object changes that cannot be tracked internally, use the SetModified method. This method calls a protected virtual SetModified method, which must be implemented in the BaseObjectSpace class’ descendants.
This SetModified method overload takes an additional memberInfo parameter that allows you to specify the property that has been changed.