Sets the state of the specified object to be Modified.
public void SetModified( object obj, IMemberInfo memberInfo )
Public Sub SetModified( obj As Object, memberInfo As IMemberInfo )
A persistent object whose state is the subject to be Modified.
An IMemberInfo object providing metadata on the property whose value has been changed.
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.