2 // System.Data.IDBConnection.cs
5 // Christopher Podurgiel (cpodurgiel@msn.com)
15 /// Represents an open connection to a data source, and is implemented by .NET data providers that access relational databases.
17 public interface IDbConnection : IDisposable
19 IDbTransaction BeginTransaction();
21 IDbTransaction BeginTransaction(IsolationLevel il);
23 void ChangeDatabase(string databaseName);
27 IDbCommand CreateCommand();
32 string ConnectionString{get; set;}
34 int ConnectionTimeout{get;}
38 ConnectionState State{get;}