EntityConnection.Database 属性

定义

获取当前数据库或将在连接打开后使用的数据库的名称。

public override string Database { get; }
member this.Database : string
Public Overrides ReadOnly Property Database As String

属性值

基础数据提供程序的 Database 属性值。

例外

基础数据提供程序未知。

适用于