EntityConnection.State 属性

定义

获取 EntityConnection 的状态,该状态设置为跟踪由此 EntityConnection 包装的基础数据库连接的状态。

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1065:DoNotRaiseExceptionsInUnexpectedLocations")]
public override System.Data.ConnectionState State { get; }
member this.State : System.Data.ConnectionState
Public Overrides ReadOnly Property State As ConnectionState

属性值

属性

适用于