Skip to main content
.NET 6.0+

NestedUnitOfWork.GetParentObject(Object) Method

Returns the object in the parent Session or UnitOfWork whose ‘copy’ in the current unit of work is specified.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v23.2.dll

NuGet Package: DevExpress.Xpo

Declaration

public object GetParentObject(
    object obj
)

Parameters

Name Type Description
obj Object

The object in the current unit of work which is the ‘copy’ of the returned object.

Returns

Type Description
Object

The parent object whose ‘copy’ in the current unit of work is specified.

Remarks

The method’s return value and the specified object represent the same persistent object.

See Also