EntityConnection.Database Property

 

Gets the name of the current database, or the database that will be used after a connection is opened.

Namespace:   System.Data.Entity.Core.EntityClient
Assembly:  EntityFramework (in EntityFramework.dll)

public override string Database { get; }

Property Value

Type: System.String

The value of the Database property of the underlying data provider.