2004-03-29 Umadevi S (sumadevi@novell.com)
[mono.git] / mcs / class / System.Data / System.Data / IDataSources.cs
1 //
2 // System.Data.IDataSources.cs
3 //
4 // Author:
5 //   Tim Coleman (tim@timcoleman.com)
6 //
7 // Copyright (C) Tim Coleman, 2003
8 //
9
10 #if NET_1_2
11
12 namespace System.Data {
13         public interface IDataSources
14         {
15                 #region Properties
16
17                 int Count { get; }
18                 object this [string name] { get; }
19
20                 #endregion // Properties
21
22                 #region Methods
23
24                 void Add (string name, IDbConnection connection);
25                 void Add (string name, IDbTransaction transaction);
26                 void Clear ();
27                 bool Contains (string name);
28                 void Remove (string name);
29
30                 #endregion // Methods
31         }
32 }
33
34 #endif // NET_1_2