Back to Devexpress

BaseObjectSpace.CreateNestedObjectSpace() Method

expressappframework-devexpress-dot-expressapp-dot-baseobjectspace-d5bf4bbd.md

latest1.9 KB
Original Source

BaseObjectSpace.CreateNestedObjectSpace() Method

Creates a nested Object Space.

Namespace : DevExpress.ExpressApp

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
public virtual IObjectSpace CreateNestedObjectSpace()
vb
Public Overridable Function CreateNestedObjectSpace As IObjectSpace

Returns

TypeDescription
IObjectSpace

An IObjectSpace object that is a created nested Object Space.

|

Remarks

Use this method to create a nested Object Space for the current Object Space. When committing the changes made within a nested Object Space, they are merged back into the parent Object Space. This allows treating several related operations as a single unified operation.

The creation of nested Object Spaces is not supported by the Entity Framework because it does not includes facilities like a nested Units of Work in XPO (see XPObjectSpace.CreateNestedObjectSpace).

Implements

CreateNestedObjectSpace()

See Also

BaseObjectSpace Class

BaseObjectSpace Members

DevExpress.ExpressApp Namespace