9 writes to Connection
System.Data (2)
fx\src\data\System\Data\Common\DBCommandBuilder.cs (1)
1396
command.
Connection
= (DbConnection)select.Connection;
fx\src\Data\System\Data\ProviderBase\DbConnectionHelper.cs (1)
184
command.
Connection
= this;
System.Data.Entity (3)
System\Data\Common\Utils\CommandHelper.cs (1)
106
storeProviderCommand.
Connection
= ((EntityConnection)entityCommand.Connection).StoreConnection;
System\Data\Mapping\Update\Internal\DynamicUpdateCommand.cs (1)
104
command.
Connection
= connection.StoreConnection;
System\Data\Mapping\Update\Internal\FunctionUpdateCommand.cs (1)
214
m_dbCommand.
Connection
= connection.StoreConnection;
System.Web (1)
UI\WebControls\SqlDataSource.cs (1)
821
command.
Connection
= connection;
System.Workflow.Runtime (3)
Tracking\SqlTrackingService.cs (3)
608
command.
Connection
= _dbResourceAllocator.OpenNewConnectionNoEnlist();
1167
command.
Connection
= conn;
1343
command.
Connection
= conn;
59 references to Connection
System.Data (5)
fx\src\data\System\Data\Common\DBCommandBuilder.cs (5)
514
DbConnection connection = srcCommand.
Connection
;
1175
return select.
Connection
;
1299
command = select.
Connection
.CreateCommand();
1392
if ((null != command) && (null == command.
Connection
)) { // MDAC 87649
1396
command.Connection = (DbConnection)select.
Connection
;
System.Web (4)
UI\WebControls\SqlDataSourceView.cs (4)
719
if (command.
Connection
.State != ConnectionState.Open) {
720
command.
Connection
.Open();
780
if (command.
Connection
.State == ConnectionState.Open) {
781
command.
Connection
.Close();
System.Workflow.Runtime (50)
Tracking\SqlTrackingService.cs (50)
331
if ((null != cmd) && (null != cmd.
Connection
) && (ConnectionState.Closed != cmd.
Connection
.State))
332
cmd.
Connection
.Close();
441
if ((null != cmd) && (null != cmd.
Connection
) && (ConnectionState.Closed != cmd.
Connection
.State))
442
cmd.
Connection
.Close();
555
command.Transaction = command.
Connection
.BeginTransaction();
589
if ((null != command) && (null != command.
Connection
) && (ConnectionState.Closed != command.
Connection
.State))
590
command.
Connection
.Close();
599
if (null != command.
Connection
)
601
if (ConnectionState.Open != command.
Connection
.State)
603
if (ConnectionState.Closed != command.
Connection
.State)
604
command.
Connection
.Close();
606
command.
Connection
.Dispose();
671
if ((null != cmd) && (null != cmd.
Connection
) && (ConnectionState.Closed != cmd.
Connection
.State))
672
cmd.
Connection
.Close();
836
if ((null != command) && (null != command.
Connection
) && (ConnectionState.Closed != command.
Connection
.State))
837
command.
Connection
.Close();
855
if ((null != command) && (null != command.
Connection
) && (ConnectionState.Closed != command.
Connection
.State))
856
command.
Connection
.Close();
1205
if ((null == command.
Connection
) || (ConnectionState.Open != command.
Connection
.State))
1378
if ((null == command) || (null == command.
Connection
) || (ConnectionState.Open != command.
Connection
.State))
1533
if ((null == command) || (null == command.
Connection
) || (ConnectionState.Open != command.
Connection
.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)
2012
command.
Connection
.Open();
2013
command.Transaction = command.
Connection
.BeginTransaction();
2039
if ((null != command) && (null != command.
Connection
) && (ConnectionState.Closed != command.
Connection
.State))
2040
command.
Connection
.Close();
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))