Skip to main content
.NET Framework 4.5.2+

XPObjectSpaceProvider.CreateUpdatingObjectSpace(Boolean) Method

Instantiates an Object Space to be used to update the database.

Namespace: DevExpress.ExpressApp.Xpo

Assembly: DevExpress.ExpressApp.Xpo.v22.1.dll

Declaration

public IObjectSpace CreateUpdatingObjectSpace(
    bool allowUpdateSchema
)

Parameters

Name Type Description
allowUpdateSchema Boolean

true, to allow schema updates; otherwise, false.

Returns

Type Description
IObjectSpace

An IObjectSpace object that is the instantiated Object Space that can be used to update the database.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CreateUpdatingObjectSpace(Boolean) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also