Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

NestedUnitOfWork.GetNestedObject(Object) Method

Returns the object in the current unit of work which is the ‘copy’ of the specified object that is owned by the parent session or unit of work.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll

Declaration

public object GetNestedObject(
    object obj
)

Parameters

Name Type Description
obj Object

The parent object whose ‘copy’ in the nested unit of work is returned.

Returns

Type Description
Object

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

Remarks

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

See Also