* DataColumn.cs: In Expression setter, set the expression member even if
[mono.git] / mcs / class / System.Data / System.Data / IColumnMapping.cs
1 //
2 // System.Data.IColumnMapping.cs
3 //
4 // Author:
5 //   Christopher Podurgiel (cpodurgiel@msn.com)
6 //
7 // (C) Chris Podurgiel
8 //
9
10 namespace System.Data
11 {
12         /// <summary>
13         /// 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.
14         /// </summary>
15         public interface IColumnMapping
16         {
17                 /// <summary>
18                 /// Gets or sets the name of the column within the DataSet to map to.
19                 /// </summary>
20                 string DataSetColumn
21                 {
22                         get;
23                         set;
24                 }
25
26                 /// <summary>
27                 /// Gets or sets the name of the column within the data source to map from. The name is case-sensitive.
28                 /// </summary>
29                 string SourceColumn
30                 {
31                         get;
32                         set;
33                 }
34         }
35 }