Files
mono/mcs/class/System.Data/System.Data.Common/DataColumnMapping.cs
T
Miguel de Icaza f3681bcbda It is safe to commit this code, because it is still excluded by the
build file above.

2002-05-05  Miguel de Icaza  <[email protected]>

	* DataTableMapping.cs, DataTableMappingCollection.cs: comment out
	interfaces we do not implement yet.

	* DbDataAdapter.cs: Stub IEnumerable, comment out interfaces
	we do not implement yet.

	* DbDataPermissionAttribute.cs: call base constructor.

svn path=/trunk/mcs/; revision=4309
2002-05-05 17:03:08 +00:00

59 lines
1.0 KiB
C#

//
// System.Data.Common.DataColumnMapping
//
// Author:
// Rodrigo Moya ([email protected])
//
// (C) Ximian, Inc
//
using System.Data;
namespace System.Data.Common
{
/// <summary>
/// Contains a generic column mapping for an object that inherits from DataAdapter. This class cannot be inherited.
/// </summary>
public sealed class DataColumnMapping : MarshalByRefObject //, IColumnMapping, ICloneable
{
private string srcColumn;
private string dsColumn;
public DataColumnMapping () {
srcColumn = null;
dsColumn = null;
}
public DataColumnMapping(string sc, string dc) {
srcColumn = sc;
dsColumn = dc;
}
[MonoTODO]
public DataColumn GetDataColumnBySchemaAction (
DataTable dataTable,
Type dataType,
MissingSchemaAction schemaAction) {
throw new NotImplementedException ();
}
public string DataSetColumn {
get {
return this.dsColumn;
}
set {
this.dsColumn = value;
}
}
public string SourceColumn {
get {
return this.srcColumn;
}
set {
this.srcColumn = value;
}
}
}
}