IColumnMapping.cs 720 B

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // System.Data.IColumnMapping.cs
  3. //
  4. // Author:
  5. // Christopher Podurgiel ([email protected])
  6. //
  7. // (C) Chris Podurgiel
  8. //
  9. namespace System.Data
  10. {
  11. /// <summary>
  12. /// Associates a data source column with a DataSet column, and is implemented by the DataColumnMapping class, which is used in common by .NET data providers.
  13. /// </summary>
  14. public interface IColumnMapping
  15. {
  16. /// <summary>
  17. /// Gets or sets the name of the column within the DataSet to map to.
  18. /// </summary>
  19. string DataSetColumn
  20. {
  21. get;
  22. set;
  23. }
  24. /// <summary>
  25. /// Gets or sets the name of the column within the data source to map from. The name is case-sensitive.
  26. /// </summary>
  27. string SourceColumn
  28. {
  29. get;
  30. set;
  31. }
  32. }
  33. }