ITableMappingCollection.cs 918 B

1234567891011121314151617181920212223242526272829
  1. //------------------------------------------------------------------------------
  2. // <copyright file="ITableMappingCollection.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. namespace System.Data {
  9. using System;
  10. public interface ITableMappingCollection : System.Collections.IList {
  11. object this[string index] {
  12. get;
  13. set;
  14. }
  15. ITableMapping Add(string sourceTableName, string dataSetTableName);
  16. bool Contains(string sourceTableName);
  17. ITableMapping GetByDataSetTable(string dataSetTableName);
  18. int IndexOf(string sourceTableName);
  19. void RemoveAt(string sourceTableName);
  20. }
  21. }