2 writes to _con
System.Data (2)
fx\src\data\System\Data\SqlClient\SqlDependencyListener.cs (2)
115
_con
= new SqlConnection(_hashHelper.ConnectionStringBuilder.ConnectionString); // Create connection and open.
205
_con
= null;
18 references to _con
System.Data (18)
fx\src\data\System\Data\SqlClient\SqlDependencyListener.cs (18)
119
SqlConnectionString connStringObj = (SqlConnectionString)
_con
.ConnectionOptions;
125
_con
.Open();
127
_cachedServer =
_con
.DataSource; // SQL BU DT 390531.
129
if (!
_con
.IsYukonOrNewer) { // After open, verify Yukon or later.
143
_com.Connection =
_con
;
203
if (
_con
!= null) {
204
_con
.Dispose();
223
_cachedDatabase =
_con
.Database;
361
com.Connection =
_con
;
365
trans =
_con
.BeginTransaction(); // Since we cannot batch proc creation, start transaction.
414
trans =
_con
.BeginTransaction();
615
_con
.Close();
635
_con
.Open();
644
_con
.Open();
720
_con
.Close();
872
if (ConnectionState.Closed !=
_con
.State && ConnectionState.Broken !=
_con
.State) {
916
_con
.Dispose(); // Close and dispose connection.