Back to Devexpress

NestedUnitOfWork.GetNestedObject(Object) Method

xpo-devexpress-dot-xpo-dot-nestedunitofwork-dot-getnestedobject-x28-system-dot-object-x29.md

latest1.6 KB
Original Source

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 UnitOfWork.

Namespace : DevExpress.Xpo

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public object GetNestedObject(
    object obj
)
vb
Public Function GetNestedObject(
    obj As Object
) As Object

Parameters

NameTypeDescription
objObject

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

|

Returns

TypeDescription
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

GetParentObject(Object)

NestedUnitOfWork Class

NestedUnitOfWork Members

DevExpress.Xpo Namespace