NestedUnitOfWork.GetParentObject<T>(T) Method
Returns the object in the parent session of the type designated by the specified generic type parameter, whose ‘copy’ in the current unit of work is specified.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.1.dll
NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap, DevExpress.Xpo
NuGet Package: DevExpress.Xpo
Declaration
Parameters
Name | Type | Description |
---|---|---|
obj | T | The object in the current unit of work which is the ‘copy’ of the returned object. |
Type Parameters
Name |
---|
T |
Returns
Type | Description |
---|---|
T | The parent object whose ‘copy’ in the current unit of work is specified. |
See Also