forked from microsoft/referencesource
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIDbConnection.cs
More file actions
43 lines (31 loc) · 1011 Bytes
/
Copy pathIDbConnection.cs
File metadata and controls
43 lines (31 loc) · 1011 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//------------------------------------------------------------------------------
// <copyright file="IDbConnection.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <owner current="true" primary="true">[....]</owner>
// <owner current="true" primary="false">[....]</owner>
//------------------------------------------------------------------------------
namespace System.Data {
using System;
public interface IDbConnection : IDisposable {
string ConnectionString {
get;
set;
}
int ConnectionTimeout {
get;
}
string Database {
get;
}
ConnectionState State {
get;
}
IDbTransaction BeginTransaction();
IDbTransaction BeginTransaction(IsolationLevel il);
void Close();
void ChangeDatabase(string databaseName);
IDbCommand CreateCommand();
void Open();
}
}