Skip to main content
.NET Framework 4.5.2+

IObjectLayerOnSession.IsParentObjectToSave(Session, Object) Method

When implemented by a class, indicates if a specified object corresponds to a an object marked for saving in parent sessions.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

bool IsParentObjectToSave(
    Session session,
    object theObject
)

Parameters

Name Type Description
session Session

A Session object specifying a session which contains theObject.

theObject Object

The session‘s object to test.

Returns

Type Description
Boolean

true if theObject corresponds to one of the objects marked for saving in parent sessions; otherwise, false.

See Also