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