14 references to Connection
System.Data (14)
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (12)
300
Connection
.CheckGetExtendedUDTInfo(colMetaData, true); // SQLBUDT #370593 ensure that colMetaData.udtType is set
568
Debug.Assert(
Connection
.IsYukonOrNewer, "Invalid Column type received from the server");
572
Debug.Assert(
Connection
.IsYukonOrNewer, "Invalid DataType (Xml) for the column");
1001
if (
Connection
!= null) {
1002
Connection
.RemoveWeakReference(this); // This doesn't catch everything -- the connection may be closed, but it prevents dead readers from clogging the collection
1066
if (
Connection
!= null) {
1067
Connection
.Close();
1193
Debug.Assert(
Connection
.IsYukonOrNewer, "Invalid Column type received from the server");
1259
Debug.Assert(
Connection
.IsYukonOrNewer, "Invalid Column type received from the server");
1260
Connection
.CheckGetExtendedUDTInfo(metaData, false);
1347
Debug.Assert(
Connection
.IsYukonOrNewer, "Invalid Column type received from the server");
1348
Connection
.CheckGetExtendedUDTInfo(metaData, false);
fx\src\data\System\Data\SqlClient\SqlDataReaderSmi.cs (2)
341
if ((closeConnection) && (
Connection
!= null)) {
342
Connection
.Close();