2 writes to conManager
System.Data.Linq (2)
SqlClient\SqlProvider.cs (2)
403this.conManager = new SqlConnectionManager(this, con, maxUsersPerConnection, fileOrServerOrConnectionString != null /*disposeConnection*/); 462this.conManager = null;
48 references to conManager
System.Data.Linq (48)
SqlClient\SqlProvider.cs (48)
151DbConnection con = conManager.UseConnection(this); 157conManager.ReleaseConnection(this); 168DbConnection con = conManager.UseConnection(this); 186conManager.ReleaseConnection(this); 196DbConnection con = conManager.UseConnection(this); 205conManager.ReleaseConnection(this); 214return this.conManager.Connection; 235return this.conManager.Transaction; 240this.conManager.Transaction = value; 304return this.conManager.MaxUsers; 313get { return this.conManager; } 405this.conManager.Transaction = tx; 459if (this.conManager != null) { 460this.conManager.DisposeConnection(); 539builder.ConnectionString = this.conManager.Connection.ConnectionString; 541if (this.conManager.Connection.State == ConnectionState.Closed) { 544Type engineType = this.conManager.Connection.GetType().Module.GetType("System.Data.SqlServerCe.SqlCeEngine"); 579this.conManager.Connection.ConnectionString = builder.ToString(); 611this.conManager.UseConnection(this); 612this.conManager.AutoClose = false; 644this.conManager.Connection.ChangeDatabase(catalog); 690this.conManager.ReleaseConnection(this); 691if (this.conManager.Connection is SqlConnection) { 710System.Diagnostics.Debug.Assert(this.conManager.Connection.State == ConnectionState.Closed); 715string holdConnStr = conManager.Connection.ConnectionString; 716DbConnection con = this.conManager.UseConnection(this); 729this.conManager.ReleaseConnection(this); 730if (conManager.Connection.State == ConnectionState.Closed && 731string.Compare(conManager.Connection.ConnectionString, holdConnStr, StringComparison.Ordinal) != 0) { 735conManager.Connection.ConnectionString = holdConnStr; 757string holdConnStr = conManager.Connection.ConnectionString; 762this.conManager.UseConnection(this); 763this.conManager.Connection.ChangeDatabase(this.dbName); 764this.conManager.ReleaseConnection(this); 768if (conManager.Connection.State == ConnectionState.Closed && 769string.Compare(conManager.Connection.ConnectionString, holdConnStr, StringComparison.Ordinal) != 0) { 773conManager.Connection.ConnectionString = holdConnStr; 786this.conManager.ClearConnection(); 795IDbCommand cmd = this.conManager.Connection.CreateCommand(); 797cmd.Transaction = this.conManager.Transaction; 1032DbConnection con = this.conManager.UseConnection(this); 1036cmd.Transaction = this.conManager.Transaction; 1050this.conManager.UseConnection(objReader.Session); 1103this.conManager.UseConnection(objReader.Session); 1127this.conManager.UseConnection(session); 1136this.conManager.ReleaseConnection(this); 1281DbCommand cmd = this.conManager.Connection.CreateCommand(); 1283cmd.Transaction = this.conManager.Transaction;