Update Reference Sources to .NET Framework 4.6
[mono.git] / mcs / class / referencesource / System.Data / System / Data / IDbConnection.cs
1 //------------------------------------------------------------------------------
2 // <copyright file="IDbConnection.cs" company="Microsoft">
3 //      Copyright (c) Microsoft Corporation.  All rights reserved.
4 // </copyright>
5 // <owner current="true" primary="true">markash</owner>
6 // <owner current="true" primary="false">laled</owner>
7 //------------------------------------------------------------------------------
8
9 namespace System.Data {
10     using System;
11
12     public interface IDbConnection : IDisposable {
13
14         string ConnectionString {
15             get;
16             set; 
17         }
18
19         int ConnectionTimeout {
20             get;
21         }
22
23         string Database {
24             get;
25         }
26
27         ConnectionState State {
28             get;
29         }
30
31         IDbTransaction BeginTransaction();
32
33         IDbTransaction BeginTransaction(IsolationLevel il); 
34
35         void Close();
36
37         void ChangeDatabase(string databaseName);
38
39         IDbCommand CreateCommand();
40
41         void Open();
42     }
43 }