.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

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.v20.1.dll

Declaration

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

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