Skip to main content
A newer version of this page is available.

EFObjectSpace.Database Property

Gets the name of the database used when a connection associated with the current Object Space’s EFObjectSpace.ObjectContext is opened.

Namespace: DevExpress.ExpressApp.EF

Assembly: DevExpress.ExpressApp.EF.v18.2.dll

Declaration

public override string Database { get; }

Property Value

Type Description
String

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

Remarks

If the connection is not opened, this property returns the name of the database that is specified in the connection string.

See Also