The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

BaseObjectSpace.CreateNestedObjectSpace() Method

Creates a nested Object Space.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

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

Returns

Type Description
IObjectSpace

An IObjectSpace object that is a created nested Object Space.

Returns

Type Description
IObjectSpace

An IObjectSpace object that is a created nested Object Space.

Returns

Type Description
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).

See Also