mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 01:41:17 -10:00
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
59 lines
1.0 KiB
C#
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;
|
|
}
|
|
}
|
|
}
|
|
}
|