.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.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.v21.1.dll

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