19 references to Connection
System.Data.Linq (19)
SqlClient\SqlProvider.cs (19)
214
return this.conManager.
Connection
;
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();
644
this.conManager.
Connection
.ChangeDatabase(catalog);
691
if (this.conManager.
Connection
is SqlConnection) {
710
System.Diagnostics.Debug.Assert(this.conManager.
Connection
.State == ConnectionState.Closed);
715
string holdConnStr = conManager.
Connection
.ConnectionString;
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;
763
this.conManager.
Connection
.ChangeDatabase(this.dbName);
768
if (conManager.
Connection
.State == ConnectionState.Closed &&
769
string.Compare(conManager.
Connection
.ConnectionString, holdConnStr, StringComparison.Ordinal) != 0) {
773
conManager.
Connection
.ConnectionString = holdConnStr;
795
IDbCommand cmd = this.conManager.
Connection
.CreateCommand();
1281
DbCommand cmd = this.conManager.
Connection
.CreateCommand();