Implemented interface member:
property
State
System.Data.IDbConnection.State
4 overrides of State
System.Data (3)
fx\src\data\System\Data\Odbc\OdbcConnection.cs (1)
146
override public ConnectionState
State
{
fx\src\data\System\Data\OleDb\OleDbConnection.cs (1)
215
override public ConnectionState
State
{
fx\src\data\System\Data\SqlClient\SqlConnection.cs (1)
730
override public ConnectionState
State
{
System.Data.Entity (1)
System\Data\EntityClient\EntityConnection.cs (1)
270
public override ConnectionState
State
54 references to State
System.Data (1)
fx\src\data\System\Data\Common\DBCommandBuilder.cs (1)
520
if (0 == (ConnectionState.Open & connection.
State
)) {
System.Data.Entity (6)
System\Data\EntityClient\EntityConnection.cs (5)
118
if (connection.
State
!= ConnectionState.Closed)
279
if (this.StoreConnection.
State
!= ConnectionState.Open)
518
OpenStoreConnectionIf(this._storeConnection.
State
!= ConnectionState.Open,
527
if (this._storeConnection == null || this._storeConnection.
State
!= ConnectionState.Open)
1195
if (this._storeConnection != null && (this._storeConnection.
State
!= ConnectionState.Closed))
System\Data\Objects\ObjectContext.cs (1)
1407
if (ConnectionState.Closed == Connection.
State
)
System.Data.Linq (8)
DataContext.cs (2)
500
if (this.provider.Connection.
State
== ConnectionState.Open) {
503
if (this.provider.Connection.
State
== ConnectionState.Closed) {
SqlClient\SqlConnectionManager.cs (2)
42
if (this.connection.
State
== ConnectionState.Closed) {
136
if (this.connection != null && this.connection.
State
!= ConnectionState.Closed) {
SqlClient\SqlProvider.cs (4)
541
if (this.conManager.Connection.
State
== ConnectionState.Closed) {
710
System.Diagnostics.Debug.Assert(this.conManager.Connection.
State
== ConnectionState.Closed);
730
if (conManager.Connection.
State
== ConnectionState.Closed &&
768
if (conManager.Connection.
State
== ConnectionState.Closed &&
System.Web (4)
UI\WebControls\SqlDataSourceView.cs (4)
719
if (command.Connection.
State
!= ConnectionState.Open) {
780
if (command.Connection.
State
== ConnectionState.Open) {
1058
if (connection.
State
== ConnectionState.Open) {
1095
if (connection.
State
!= ConnectionState.Open) {
System.Workflow.Runtime (35)
Hosting\DbResourceAllocator.cs (2)
181
Debug.Assert((connection.
State
== System.Data.ConnectionState.Open),
182
"Invalid connection state " + connection.
State
+ " for connection " + connection);
Hosting\LocalTransaction.cs (2)
104
if ((null != connection) && (ConnectionState.Closed != connection.
State
))
138
if ((null != connection) && (ConnectionState.Closed != connection.
State
))
Hosting\SqlWorkflowPersistenceService.cs (7)
118
if ((null == conn) || (ConnectionState.Open != conn.
State
))
254
if ((null == connection) || (ConnectionState.Open != connection.
State
))
303
if ((null == connection) || (ConnectionState.Open != connection.
State
))
368
if ((null == connection) || (ConnectionState.Open != connection.
State
))
418
if ((null == connection) || (ConnectionState.Open != connection.
State
))
488
if ((null == connection) || (ConnectionState.Open != connection.
State
))
548
if ((null != connection) && (ConnectionState.Closed != connection.
State
))
Tracking\SqlTrackingService.cs (24)
331
if ((null != cmd) && (null != cmd.Connection) && (ConnectionState.Closed != cmd.Connection.
State
))
441
if ((null != cmd) && (null != cmd.Connection) && (ConnectionState.Closed != cmd.Connection.
State
))
589
if ((null != command) && (null != command.Connection) && (ConnectionState.Closed != command.Connection.
State
))
601
if (ConnectionState.Open != command.Connection.
State
)
603
if (ConnectionState.Closed != command.Connection.
State
)
671
if ((null != cmd) && (null != cmd.Connection) && (ConnectionState.Closed != cmd.Connection.
State
))
836
if ((null != command) && (null != command.Connection) && (ConnectionState.Closed != command.Connection.
State
))
855
if ((null != command) && (null != command.Connection) && (ConnectionState.Closed != command.Connection.
State
))
1193
if ((null != conn) && (ConnectionState.Closed != conn.
State
))
1205
if ((null == command.Connection) || (ConnectionState.Open != command.Connection.
State
))
1369
if ((null != conn) && (ConnectionState.Closed != conn.
State
))
1378
if ((null == command) || (null == command.Connection) || (ConnectionState.Open != command.Connection.
State
))
1517
if ((null != conn) && (ConnectionState.Closed != conn.
State
))
1533
if ((null == command) || (null == command.Connection) || (ConnectionState.Open != command.Connection.
State
))
1684
if ((null != conn) && (ConnectionState.Closed != conn.
State
))
1694
if ((null == command) || (null == command.Connection) || (ConnectionState.Open != command.Connection.
State
))
1831
if ((null == command) || (null == command.Connection) || (ConnectionState.Open != command.Connection.
State
))
1908
if ((null == command) || (null == command.Connection) || (ConnectionState.Open != command.Connection.
State
))
1971
if ((null == command) || (null == command.Connection) || (ConnectionState.Open != command.Connection.
State
))
2011
if (ConnectionState.Open != command.Connection.
State
)
2039
if ((null != command) && (null != command.Connection) && (ConnectionState.Closed != command.Connection.
State
))
2054
if ((null == command) || (null == command.Connection) || (ConnectionState.Open != command.Connection.
State
))
2093
if ((null == command) || (null == command.Connection) || (ConnectionState.Open != command.Connection.
State
))
2118
if ((null == command) || (null == command.Connection) || (ConnectionState.Open != command.Connection.
State
))