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

NestedUnitOfWork.GetNestedObject<T>(T) Method

Returns the object of the type designated by the specified generic type parameter, which is the ‘copy’ of the specified object owned by the parent session.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.1.dll

Declaration

public T GetNestedObject<T>(
    T obj
)

Parameters

Name Type Description
obj T

The parent object of the type designated by the specified generic type parameter whose ‘copy’ in the nested unit of work is returned.

Type Parameters

Name
T

Returns

Type Description
T

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

See Also