2002-10-25 Tim Coleman (tim@timcoleman.com)
[mono.git] / mcs / class / System.Data / System.Data / ITableMappingCollection.cs
1 //
2 // System.Data.ITableMappingCollection.cs
3 //
4 // Author:
5 //   Christopher Podurgiel (cpodurgiel@msn.com)
6 //
7 // (C) Chris Podurgiel
8 //
9
10 using System.Collections;
11
12 namespace System.Data
13 {
14         /// <summary>
15         /// Contains a collection of TableMapping objects, and is implemented by the DataTableMappingCollection, which is used in common by .NET data providers.
16         /// </summary>
17         public interface ITableMappingCollection : IList, ICollection, IEnumerable
18         {
19                 ITableMapping Add(string sourceTableName, string dataSetTableName);
20                 
21                 bool Contains(string sourceTableName);
22                 
23                 ITableMapping GetByDataSetTable(string dataSetTableName);
24                 
25                 int IndexOf(string sourceTableName);
26                 
27                 void RemoveAt(string sourceTableName);
28                 
29                 object this[string index]{get; set;}
30         }
31 }