NestedUnitOfWork.GetParentObject(Object) Method
Returns the object in the parent Session or UnitOfWork whose ‘copy’ in the current unit of work is specified.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
obj | Object | The object in the current unit of work which is the ‘copy’ of the returned object. |
Returns
Type | Description |
---|---|
Object | The parent object whose ‘copy’ in the current unit of work is specified. |
Remarks
The method’s return value and the specified object represent the same persistent object.
See Also