Skip to main content
.NET 8.0+

ISerializableObjectLayerEx.IsParentObjectToSave(XPDictionaryStub, XPObjectStub) 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.2.dll

Declaration

bool IsParentObjectToSave(
    XPDictionaryStub dictionary,
    XPObjectStub theObject
)

Parameters

Name Type Description
dictionary XPDictionaryStub

An XPDictionaryStub object that is a metadata information provider.

theObject XPObjectStub

An XPObjectStub instance identifying an object layer session’s object to test.

Returns

Type Description
Boolean

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

See Also