.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
.NET Core 3.0+

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.v19.2.dll

Declaration

public override string Database { get; }
Public Overrides ReadOnly Property Database As String
public override string Database { get; }
Public Overrides ReadOnly Property Database As String

Property Value

Type Description
String

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

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