The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
EntityConnection::State Property
.NET Framework (current version)
Gets the ConnectionState property of the underlying provider if the EntityConnection is open. Otherwise, returns Closed.
Assembly: System.Data.Entity (in System.Data.Entity.dll)
Property Value
Type: System.Data::ConnectionStateOpen, if and only if both the EntityConnection’s internal state and the underlying provider's ConnectionState are open. If the EntityConnection’s state is open but the provider's ConnectionState is closed, this property returns Broken. Otherwise, it returns Closed.
Implements
IDbConnection::State
.NET Framework
Available since 3.5
Available since 3.5
Show: