XafApplication.CreateObjectSpace() Method

Creates an Object Space. Use this method overload if your application registers only one Object Space Provider.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

public IObjectSpace CreateObjectSpace()
Public Function CreateObjectSpace As IObjectSpace

Returns

Type Description
IObjectSpace

An IObjectSpace object representing the created Object Space.

Remarks

If your application registers several Object Space Providers (i.e., supports non-persistent objects and/or connects to several databases), use the CreateObjectSpace(Type) method overload instead.

See Also