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