Back to Devexpress

NestedUnitOfWork.GetNestedObject<T>(T) Method

xpo-devexpress-dot-xpo-dot-nestedunitofwork-dot-getnestedobject-1-x28-0-x29.md

latest1.4 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public T GetNestedObject<T>(
    T obj
)
vb
Public Function GetNestedObject(Of T)(
    obj As T
) As T

Parameters

NameTypeDescription
objT

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

TypeDescription
T

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

|

See Also

GetParentObject<T>(T)

NestedUnitOfWork Class

NestedUnitOfWork Members

DevExpress.Xpo Namespace