Skip to main content
.NET Framework 4.5.2+

IObjectSpace.Database Property

Gets the name of the database used when a connection associated with the current Object Space’s container for in-memory objects is opened.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v22.1.dll

Declaration

string Database { get; }

Property Value

Type Description
String

A string that is the name of the database used when a connection is opened.

Remarks

By the container for in-memory objects, we mean a Session in the case of an XPObjectSpace (see XPObjectSpace.Session) or an Object Context in the case of an EFCoreObjectSpace (see EFCoreObjectSpace.DbContext)

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Database property.

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