The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

BaseObjectSpace.SetModified(Object, IMemberInfo) Method

Sets the state of the specified object to be Modified.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

public void SetModified(
    object obj,
    IMemberInfo memberInfo
)
Public Sub SetModified(
    obj As Object,
    memberInfo As IMemberInfo
)
public void SetModified(
    object obj,
    IMemberInfo memberInfo
)
Public Sub SetModified(
    obj As Object,
    memberInfo As IMemberInfo
)
public void SetModified(
    object obj,
    IMemberInfo memberInfo
)
Public Sub SetModified(
    obj As Object,
    memberInfo As IMemberInfo
)

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.

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.

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.

See Also