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+

Session.IsObjectToSave(Object) Method

Indicates whether the specified object is saved in the transaction currently in progress.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll

Declaration

public bool IsObjectToSave(
    object theObject
)
Public Function IsObjectToSave(
    theObject As Object
) As Boolean
public bool IsObjectToSave(
    object theObject
)
Public Function IsObjectToSave(
    theObject As Object
) As Boolean

Parameters

Name Type Description
theObject Object

The persistent object to test.

Parameters

Name Type Description
theObject Object

The persistent object to test.

Returns

Type Description
Boolean

true if the specified object is saved in the transaction currently in progress; otherwise, false.

Returns

Type Description
Boolean

true if the specified object is saved in the transaction currently in progress; otherwise, false.

Remarks

To get a collection of persistent objects that are saved in the transaction currently in progress, use the Session.GetObjectsToSave method.

For general information on saving persistent objects, see Persisting Objects.

See Also