Skip to main content
.NET 6.0+

NestedUnitOfWork.GetNestedObjects(Object[]) Method

Returns the objects in the current unit of work which are ‘copies’ of the specified objects that are owned by the parent Session or UnitOfWork.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v23.2.dll

NuGet Package: DevExpress.Xpo

Declaration

public object[] GetNestedObjects(
    params object[] parentObjects
)

Parameters

Name Type Description
parentObjects Object[]

The parent objects whose ‘copies’ in the nested unit of work are returned.

Returns

Type Description
Object[]

The objects in the current unit of work which are ‘copies’ of the specified object.

Remarks

The method’s return values and the specified objects represent the same persistent objects.

See Also