Skip to main content
.NET 6.0+

NestedUnitOfWork.GetParentObject Method

Name Parameters Description
GetParentObject(Object) obj Returns the object in the parent Session or UnitOfWork whose ‘copy’ in the current unit of work is specified.
GetParentObject<T>(T) obj 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.