2 writes to provider
System.Data.Linq (2)
DataContext.cs (2)
145this.provider = null; 187this.provider = (IProvider)Activator.CreateInstance(providerType);
29 references to provider
System.Data.Linq (29)
DataContext.cs (29)
143if (this.provider != null) { 144this.provider.Dispose(); 188this.provider.Initialize(this.services, connection); 212return this.provider.Connection; 222return this.provider.Transaction; 226this.provider.Transaction = value; 236return this.provider.CommandTimeout; 240this.provider.CommandTimeout = value; 251return this.provider.Log; 255this.provider.Log = value; 439return this.provider; 449return this.provider.DatabaseExists(); 458this.provider.CreateDatabase(); 466this.provider.DeleteDatabase(); 496if (System.Transactions.Transaction.Current == null && this.provider.Transaction == null) { 500if (this.provider.Connection.State == ConnectionState.Open) { 501this.provider.ClearConnection(); 503if (this.provider.Connection.State == ConnectionState.Closed) { 504this.provider.Connection.Open(); 507transaction = this.provider.Connection.BeginTransaction(IsolationLevel.ReadCommitted); 508this.provider.Transaction = transaction; 514this.provider.ClearConnection(); 525this.provider.Transaction = null; 527this.provider.Connection.Close(); 655return this.provider.GetQueryText(query.Expression); 669return this.provider.GetCommand(query.Expression); 778return this.provider.Execute(this.GetMethodCall(instance, methodInfo, parameters)); 907return this.provider.Translate(elementType, reader); 920return this.provider.Translate(reader);