1 <?xml version="1.0" encoding="utf-8"?>
2 <Type Name="DataColumnMapping" FullName="System.Data.Common.DataColumnMapping">
3 <TypeSignature Language="C#" Maintainer="auto" Value="public sealed class DataColumnMapping : MarshalByRefObject, ICloneable, System.Data.IColumnMapping" />
5 <AssemblyName>System.Data</AssemblyName>
6 <AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00]</AssemblyPublicKey>
7 <AssemblyVersion>1.0.3300.0</AssemblyVersion>
8 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
9 <AssemblyVersion>2.0.0.0</AssemblyVersion>
11 <ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
13 <BaseTypeName>System.MarshalByRefObject</BaseTypeName>
17 <InterfaceName>System.Data.IColumnMapping</InterfaceName>
20 <InterfaceName>System.ICloneable</InterfaceName>
25 <AttributeName>System.ComponentModel.TypeConverter("System.Data.Common.DataColumnMapping+DataColumnMappingConverter, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")</AttributeName>
30 <attribution license="cc4" from="Microsoft" modified="false" />
31 <para>A <see cref="T:System.Data.Common.DataColumnMapping" /> enables you to use column names in a <see cref="T:System.Data.DataTable" /> that are different from those in the data source. The DataAdapter uses the mapping to match the columns when the tables in the <see cref="T:System.Data.DataSet" /> or data source are updated. For more information, see <format type="text/html"><a href="D023260A-A66A-4C39-B8F4-090CD130E730">[<topic://cpconsettingupdatatabledatacolumnmappings>]</a></format>.</para>
34 <attribution license="cc4" from="Microsoft" modified="false" />
35 <para>Contains a generic column mapping for an object that inherits from <see cref="T:System.Data.Common.DataAdapter" />. This class cannot be inherited.</para>
39 <Member MemberName=".ctor">
40 <MemberSignature Language="C#" Value="public DataColumnMapping ();" />
41 <MemberType>Constructor</MemberType>
45 <remarks>To be added</remarks>
47 <attribution license="cc4" from="Microsoft" modified="false" />
48 <para>Initializes a new instance of the <see cref="T:System.Data.Common.DataColumnMapping" /> class.</para>
52 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
53 <AssemblyVersion>2.0.0.0</AssemblyVersion>
56 <Member MemberName=".ctor">
57 <MemberSignature Language="C#" Value="public DataColumnMapping (string sourceColumn, string dataSetColumn);" />
58 <MemberType>Constructor</MemberType>
61 <Parameter Name="sourceColumn" Type="System.String" />
62 <Parameter Name="dataSetColumn" Type="System.String" />
65 <remarks>To be added</remarks>
67 <attribution license="cc4" from="Microsoft" modified="false" />
68 <para>Initializes a new instance of the <see cref="T:System.Data.Common.DataColumnMapping" /> class with the specified source column name and <see cref="T:System.Data.DataSet" /> column name to map to.</para>
70 <param name="sourceColumn">
71 <attribution license="cc4" from="Microsoft" modified="false" />The case-sensitive column name from a data source. </param>
72 <param name="dataSetColumn">
73 <attribution license="cc4" from="Microsoft" modified="false" />The column name, which is not case sensitive, from a <see cref="T:System.Data.DataSet" /> to map to. </param>
76 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
77 <AssemblyVersion>2.0.0.0</AssemblyVersion>
80 <Member MemberName="DataSetColumn">
81 <MemberSignature Language="C#" Value="public string DataSetColumn { set; get; }" />
82 <MemberType>Property</MemberType>
84 <ReturnType>System.String</ReturnType>
89 <value>To be added: an object of type 'string'</value>
90 <remarks>To be added</remarks>
92 <attribution license="cc4" from="Microsoft" modified="false" />
93 <para>Gets or sets the name of the column within the <see cref="T:System.Data.DataSet" /> to map to.</para>
97 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
98 <AssemblyVersion>2.0.0.0</AssemblyVersion>
102 <AttributeName>System.ComponentModel.DefaultValue("")</AttributeName>
106 <Member MemberName="GetDataColumnBySchemaAction">
107 <MemberSignature Language="C#" Value="public System.Data.DataColumn GetDataColumnBySchemaAction (System.Data.DataTable dataTable, Type dataType, System.Data.MissingSchemaAction schemaAction);" />
108 <MemberType>Method</MemberType>
110 <ReturnType>System.Data.DataColumn</ReturnType>
113 <Parameter Name="dataTable" Type="System.Data.DataTable" />
114 <Parameter Name="dataType" Type="System.Type" />
115 <Parameter Name="schemaAction" Type="System.Data.MissingSchemaAction" />
118 <returns>To be added: an object of type 'Data.DataColumn'</returns>
119 <remarks>To be added</remarks>
121 <attribution license="cc4" from="Microsoft" modified="false" />
122 <para>Gets a <see cref="T:System.Data.DataColumn" /> from the given <see cref="T:System.Data.DataTable" /> using the <see cref="T:System.Data.MissingSchemaAction" /> and the <see cref="P:System.Data.Common.DataColumnMapping.DataSetColumn" /> property.</para>
124 <param name="dataTable">
125 <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Data.DataTable" /> to get the column from.</param>
126 <param name="dataType">
127 <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Type" /> of the data column.</param>
128 <param name="schemaAction">
129 <attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Data.MissingSchemaAction" /> values.</param>
132 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
133 <AssemblyVersion>2.0.0.0</AssemblyVersion>
137 <AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
141 <Member MemberName="GetDataColumnBySchemaAction">
142 <MemberSignature Language="C#" Value="public static System.Data.DataColumn GetDataColumnBySchemaAction (string sourceColumn, string dataSetColumn, System.Data.DataTable dataTable, Type dataType, System.Data.MissingSchemaAction schemaAction);" />
143 <MemberType>Method</MemberType>
145 <AssemblyVersion>2.0.0.0</AssemblyVersion>
149 <AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
153 <ReturnType>System.Data.DataColumn</ReturnType>
156 <Parameter Name="sourceColumn" Type="System.String" />
157 <Parameter Name="dataSetColumn" Type="System.String" />
158 <Parameter Name="dataTable" Type="System.Data.DataTable" />
159 <Parameter Name="dataType" Type="System.Type" />
160 <Parameter Name="schemaAction" Type="System.Data.MissingSchemaAction" />
163 <returns>To be added.</returns>
164 <remarks>To be added.</remarks>
166 <attribution license="cc4" from="Microsoft" modified="false" />
167 <para>A static version of <see cref="M:System.Data.Common.DataColumnMapping.GetDataColumnBySchemaAction(System.Data.DataTable,System.Type,System.Data.MissingSchemaAction)" /> that can be called without instantiating a <see cref="T:System.Data.Common.DataColumnMapping" /> object.</para>
169 <param name="sourceColumn">
170 <attribution license="cc4" from="Microsoft" modified="false" />The case-sensitive column name from a data source. </param>
171 <param name="dataSetColumn">
172 <attribution license="cc4" from="Microsoft" modified="false" />The column name, which is not case sensitive, from a <see cref="T:System.Data.DataSet" /> to map to. </param>
173 <param name="dataTable">
174 <attribution license="cc4" from="Microsoft" modified="false" />An instance of <see cref="T:System.Data.DataTable" />.</param>
175 <param name="dataType">
176 <attribution license="cc4" from="Microsoft" modified="false" />The data type for the column being mapped.</param>
177 <param name="schemaAction">
178 <attribution license="cc4" from="Microsoft" modified="false" />Determines the action to take when existing <see cref="T:System.Data.DataSet" /> schema does not match incoming data.</param>
181 <Member MemberName="SourceColumn">
182 <MemberSignature Language="C#" Value="public string SourceColumn { set; get; }" />
183 <MemberType>Property</MemberType>
185 <ReturnType>System.String</ReturnType>
190 <value>To be added: an object of type 'string'</value>
191 <remarks>To be added</remarks>
193 <attribution license="cc4" from="Microsoft" modified="false" />
194 <para>Gets or sets the name of the column within the data source to map from. The name is case-sensitive.</para>
198 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
199 <AssemblyVersion>2.0.0.0</AssemblyVersion>
203 <AttributeName>System.ComponentModel.DefaultValue("")</AttributeName>
207 <Member MemberName="System.ICloneable.Clone">
208 <MemberSignature Language="C#" Value="object ICloneable.Clone ();" />
209 <MemberType>Method</MemberType>
211 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
212 <AssemblyVersion>2.0.0.0</AssemblyVersion>
215 <ReturnType>System.Object</ReturnType>
219 <returns>To be added.</returns>
221 <attribution license="cc4" from="Microsoft" modified="false" />
222 <para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.Data.SqlClient.SqlCommand" /> instance is cast to an <see cref="T:System.ICloneable" /> interface.</para>
223 <para>For more information, see <see cref="M:System.ICloneable.Clone" />.</para>
226 <attribution license="cc4" from="Microsoft" modified="false" />
227 <para>Creates a new object that is a copy of the current instance.</para>
231 <Member MemberName="ToString">
232 <MemberSignature Language="C#" Value="public override string ToString ();" />
233 <MemberType>Method</MemberType>
235 <ReturnType>System.String</ReturnType>
239 <returns>To be added: an object of type 'string'</returns>
240 <remarks>To be added</remarks>
242 <attribution license="cc4" from="Microsoft" modified="false" />
243 <para>Converts the current <see cref="P:System.Data.Common.DataColumnMapping.SourceColumn" /> name to a string.</para>
247 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
248 <AssemblyVersion>2.0.0.0</AssemblyVersion>