DataTableMapping.xml 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Type Name="DataTableMapping" FullName="System.Data.Common.DataTableMapping">
  3. <TypeSignature Language="C#" Maintainer="auto" Value="public sealed class DataTableMapping : MarshalByRefObject, ICloneable, System.Data.ITableMapping" />
  4. <AssemblyInfo>
  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>
  10. </AssemblyInfo>
  11. <ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; for details.</ThreadSafetyStatement>
  12. <Base>
  13. <BaseTypeName>System.MarshalByRefObject</BaseTypeName>
  14. </Base>
  15. <Interfaces>
  16. <Interface>
  17. <InterfaceName>System.Data.ITableMapping</InterfaceName>
  18. </Interface>
  19. <Interface>
  20. <InterfaceName>System.ICloneable</InterfaceName>
  21. </Interface>
  22. </Interfaces>
  23. <Attributes>
  24. <Attribute>
  25. <AttributeName>System.ComponentModel.TypeConverter("System.Data.Common.DataTableMapping+DataTableMappingConverter, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")</AttributeName>
  26. </Attribute>
  27. </Attributes>
  28. <Docs>
  29. <remarks>
  30. <attribution license="cc4" from="Microsoft" modified="false" />
  31. <para>A <see cref="T:System.Data.Common.DataTableMapping" /> provides a master mapping between the data returned from a query against a data source, and a <see cref="T:System.Data.DataTable" />. The <see cref="T:System.Data.Common.DataTableMapping" /> name can be passed in place of the <see cref="T:System.Data.DataTable" /> name to the Fill method of the DataAdapter. For more information, see <format type="text/html"><a href="D023260A-A66A-4C39-B8F4-090CD130E730">Setting Up DataTable and DataColumn Mappings</a></format>.</para>
  32. </remarks>
  33. <summary>
  34. <attribution license="cc4" from="Microsoft" modified="false" />
  35. <para>Contains a description of a mapped relationship between a source table and a <see cref="T:System.Data.DataTable" />. This class is used by a <see cref="T:System.Data.Common.DataAdapter" /> when populating a <see cref="T:System.Data.DataSet" />.</para>
  36. </summary>
  37. </Docs>
  38. <Members>
  39. <Member MemberName=".ctor">
  40. <MemberSignature Language="C#" Value="public DataTableMapping ();" />
  41. <MemberType>Constructor</MemberType>
  42. <ReturnValue />
  43. <Parameters />
  44. <Docs>
  45. <remarks>To be added</remarks>
  46. <summary>
  47. <attribution license="cc4" from="Microsoft" modified="false" />
  48. <para>Initializes a new instance of the <see cref="T:System.Data.Common.DataTableMapping" /> class.</para>
  49. </summary>
  50. </Docs>
  51. <AssemblyInfo>
  52. <AssemblyVersion>1.0.5000.0</AssemblyVersion>
  53. <AssemblyVersion>2.0.0.0</AssemblyVersion>
  54. </AssemblyInfo>
  55. </Member>
  56. <Member MemberName=".ctor">
  57. <MemberSignature Language="C#" Value="public DataTableMapping (string sourceTable, string dataSetTable);" />
  58. <MemberType>Constructor</MemberType>
  59. <ReturnValue />
  60. <Parameters>
  61. <Parameter Name="sourceTable" Type="System.String" />
  62. <Parameter Name="dataSetTable" Type="System.String" />
  63. </Parameters>
  64. <Docs>
  65. <remarks>To be added</remarks>
  66. <summary>
  67. <attribution license="cc4" from="Microsoft" modified="false" />
  68. <para>Initializes a new instance of the <see cref="T:System.Data.Common.DataTableMapping" /> class with a source when given a source table name and a <see cref="T:System.Data.DataTable" /> name.</para>
  69. </summary>
  70. <param name="sourceTable">
  71. <attribution license="cc4" from="Microsoft" modified="false" />The case-sensitive source table name from a data source. </param>
  72. <param name="dataSetTable">
  73. <attribution license="cc4" from="Microsoft" modified="false" />The table name from a <see cref="T:System.Data.DataSet" /> to map to. </param>
  74. </Docs>
  75. <AssemblyInfo>
  76. <AssemblyVersion>1.0.5000.0</AssemblyVersion>
  77. <AssemblyVersion>2.0.0.0</AssemblyVersion>
  78. </AssemblyInfo>
  79. </Member>
  80. <Member MemberName=".ctor">
  81. <MemberSignature Language="C#" Value="public DataTableMapping (string sourceTable, string dataSetTable, System.Data.Common.DataColumnMapping[] columnMappings);" />
  82. <MemberType>Constructor</MemberType>
  83. <ReturnValue />
  84. <Parameters>
  85. <Parameter Name="sourceTable" Type="System.String" />
  86. <Parameter Name="dataSetTable" Type="System.String" />
  87. <Parameter Name="columnMappings" Type="System.Data.Common.DataColumnMapping[]" />
  88. </Parameters>
  89. <Docs>
  90. <remarks>To be added</remarks>
  91. <summary>
  92. <attribution license="cc4" from="Microsoft" modified="false" />
  93. <para>Initializes a new instance of the <see cref="T:System.Data.Common.DataTableMapping" /> class when given a source table name, a <see cref="T:System.Data.DataTable" /> name, and an array of <see cref="T:System.Data.Common.DataColumnMapping" /> objects.</para>
  94. </summary>
  95. <param name="sourceTable">
  96. <attribution license="cc4" from="Microsoft" modified="false" />The case-sensitive source table name from a data source. </param>
  97. <param name="dataSetTable">
  98. <attribution license="cc4" from="Microsoft" modified="false" />The table name from a <see cref="T:System.Data.DataSet" /> to map to. </param>
  99. <param name="columnMappings">
  100. <attribution license="cc4" from="Microsoft" modified="false" />An array of <see cref="T:System.Data.Common.DataColumnMapping" /> objects. </param>
  101. </Docs>
  102. <AssemblyInfo>
  103. <AssemblyVersion>1.0.5000.0</AssemblyVersion>
  104. <AssemblyVersion>2.0.0.0</AssemblyVersion>
  105. </AssemblyInfo>
  106. </Member>
  107. <Member MemberName="ColumnMappings">
  108. <MemberSignature Language="C#" Value="public System.Data.Common.DataColumnMappingCollection ColumnMappings { get; }" />
  109. <MemberType>Property</MemberType>
  110. <ReturnValue>
  111. <ReturnType>System.Data.Common.DataColumnMappingCollection</ReturnType>
  112. </ReturnValue>
  113. <Docs>
  114. <value>To be added: an object of type 'DataColumnMappingCollection'</value>
  115. <remarks>To be added</remarks>
  116. <summary>
  117. <attribution license="cc4" from="Microsoft" modified="false" />
  118. <para>Gets the <see cref="T:System.Data.Common.DataColumnMappingCollection" /> for the <see cref="T:System.Data.DataTable" />.</para>
  119. </summary>
  120. </Docs>
  121. <AssemblyInfo>
  122. <AssemblyVersion>1.0.5000.0</AssemblyVersion>
  123. <AssemblyVersion>2.0.0.0</AssemblyVersion>
  124. </AssemblyInfo>
  125. <Attributes>
  126. <Attribute>
  127. <AttributeName>System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Content)</AttributeName>
  128. </Attribute>
  129. </Attributes>
  130. </Member>
  131. <Member MemberName="DataSetTable">
  132. <MemberSignature Language="C#" Value="public string DataSetTable { set; get; }" />
  133. <MemberType>Property</MemberType>
  134. <ReturnValue>
  135. <ReturnType>System.String</ReturnType>
  136. </ReturnValue>
  137. <Parameters>
  138. </Parameters>
  139. <Docs>
  140. <value>To be added: an object of type 'string'</value>
  141. <remarks>To be added</remarks>
  142. <summary>
  143. <attribution license="cc4" from="Microsoft" modified="false" />
  144. <para>Gets or sets the table name from a <see cref="T:System.Data.DataSet" />.</para>
  145. </summary>
  146. </Docs>
  147. <AssemblyInfo>
  148. <AssemblyVersion>1.0.5000.0</AssemblyVersion>
  149. <AssemblyVersion>2.0.0.0</AssemblyVersion>
  150. </AssemblyInfo>
  151. <Attributes>
  152. <Attribute>
  153. <AttributeName>System.ComponentModel.DefaultValue("")</AttributeName>
  154. </Attribute>
  155. </Attributes>
  156. </Member>
  157. <Member MemberName="GetColumnMappingBySchemaAction">
  158. <MemberSignature Language="C#" Value="public System.Data.Common.DataColumnMapping GetColumnMappingBySchemaAction (string sourceColumn, System.Data.MissingMappingAction mappingAction);" />
  159. <MemberType>Method</MemberType>
  160. <ReturnValue>
  161. <ReturnType>System.Data.Common.DataColumnMapping</ReturnType>
  162. </ReturnValue>
  163. <Parameters>
  164. <Parameter Name="sourceColumn" Type="System.String" />
  165. <Parameter Name="mappingAction" Type="System.Data.MissingMappingAction" />
  166. </Parameters>
  167. <Docs>
  168. <remarks>
  169. <attribution license="cc4" from="Microsoft" modified="false" />
  170. <para>If the <see cref="T:System.Data.Common.DataColumnMapping" /> exists, it is returned.</para>
  171. <para>If the <see cref="T:System.Data.Common.DataColumnMapping" /> does not exist, for a given <see cref="T:System.Data.MissingMappingAction" />, the following actions occur: </para>
  172. <list type="table">
  173. <listheader>
  174. <item>
  175. <term>
  176. <para>MissingMappingAction </para>
  177. </term>
  178. <description>
  179. <para>Action taken </para>
  180. </description>
  181. </item>
  182. </listheader>
  183. <item>
  184. <term>
  185. <para>Passthrough </para>
  186. </term>
  187. <description>
  188. <para>Creates a <see cref="T:System.Data.Common.DataColumnMapping" /> with the specified source column name as both the source column name and the <see cref="T:System.Data.DataSet" /> column name. This <see cref="T:System.Data.Common.DataColumnMapping" /> is not added to the collection. </para>
  189. </description>
  190. </item>
  191. <item>
  192. <term>
  193. <para>Error </para>
  194. </term>
  195. <description>
  196. <para>An <see cref="T:System.InvalidOperationException" /> is generated if the specified column mapping is missing. </para>
  197. </description>
  198. </item>
  199. <item>
  200. <term>
  201. <para>Ignore </para>
  202. </term>
  203. <description>
  204. <para>Gets a null value. </para>
  205. </description>
  206. </item>
  207. </list>
  208. </remarks>
  209. <summary>
  210. <attribution license="cc4" from="Microsoft" modified="false" />
  211. <para>Gets a <see cref="T:System.Data.DataColumn" /> from the specified <see cref="T:System.Data.DataTable" /> using the specified <see cref="T:System.Data.MissingMappingAction" /> value and the name of the <see cref="T:System.Data.DataColumn" />.</para>
  212. </summary>
  213. <returns>
  214. <attribution license="cc4" from="Microsoft" modified="false" />
  215. <para>A data column.</para>
  216. </returns>
  217. <param name="sourceColumn">
  218. <attribution license="cc4" from="Microsoft" modified="false" />The name of the <see cref="T:System.Data.DataColumn" />. </param>
  219. <param name="mappingAction">
  220. <attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Data.MissingMappingAction" /> values. </param>
  221. </Docs>
  222. <AssemblyInfo>
  223. <AssemblyVersion>1.0.5000.0</AssemblyVersion>
  224. <AssemblyVersion>2.0.0.0</AssemblyVersion>
  225. </AssemblyInfo>
  226. <Attributes>
  227. <Attribute>
  228. <AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
  229. </Attribute>
  230. </Attributes>
  231. </Member>
  232. <Member MemberName="GetDataColumn">
  233. <MemberSignature Language="C#" Value="public System.Data.DataColumn GetDataColumn (string sourceColumn, Type dataType, System.Data.DataTable dataTable, System.Data.MissingMappingAction mappingAction, System.Data.MissingSchemaAction schemaAction);" />
  234. <MemberType>Method</MemberType>
  235. <AssemblyInfo>
  236. <AssemblyVersion>2.0.0.0</AssemblyVersion>
  237. </AssemblyInfo>
  238. <Attributes>
  239. <Attribute>
  240. <AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
  241. </Attribute>
  242. </Attributes>
  243. <ReturnValue>
  244. <ReturnType>System.Data.DataColumn</ReturnType>
  245. </ReturnValue>
  246. <Parameters>
  247. <Parameter Name="sourceColumn" Type="System.String" />
  248. <Parameter Name="dataType" Type="System.Type" />
  249. <Parameter Name="dataTable" Type="System.Data.DataTable" />
  250. <Parameter Name="mappingAction" Type="System.Data.MissingMappingAction" />
  251. <Parameter Name="schemaAction" Type="System.Data.MissingSchemaAction" />
  252. </Parameters>
  253. <Docs>
  254. <remarks>To be added.</remarks>
  255. <summary>
  256. <attribution license="cc4" from="Microsoft" modified="false" />
  257. <para>Returns a <see cref="T:System.Data.DataColumn" /> object for a given column name.</para>
  258. </summary>
  259. <returns>
  260. <attribution license="cc4" from="Microsoft" modified="false" />
  261. <para>A <see cref="T:System.Data.DataColumn" /> object.</para>
  262. </returns>
  263. <param name="sourceColumn">
  264. <attribution license="cc4" from="Microsoft" modified="false" />The name of the <see cref="T:System.Data.DataColumn" />. </param>
  265. <param name="dataType">
  266. <attribution license="cc4" from="Microsoft" modified="false" />The data type for <paramref name="sourceColumn" />.</param>
  267. <param name="dataTable">
  268. <attribution license="cc4" from="Microsoft" modified="false" />The table name from a <see cref="T:System.Data.DataSet" /> to map to. </param>
  269. <param name="mappingAction">
  270. <attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Data.MissingMappingAction" /> values. </param>
  271. <param name="schemaAction">
  272. <attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Data.MissingSchemaAction" /> values. </param>
  273. </Docs>
  274. </Member>
  275. <Member MemberName="GetDataTableBySchemaAction">
  276. <MemberSignature Language="C#" Value="public System.Data.DataTable GetDataTableBySchemaAction (System.Data.DataSet dataSet, System.Data.MissingSchemaAction schemaAction);" />
  277. <MemberType>Method</MemberType>
  278. <ReturnValue>
  279. <ReturnType>System.Data.DataTable</ReturnType>
  280. </ReturnValue>
  281. <Parameters>
  282. <Parameter Name="dataSet" Type="System.Data.DataSet" />
  283. <Parameter Name="schemaAction" Type="System.Data.MissingSchemaAction" />
  284. </Parameters>
  285. <Docs>
  286. <remarks>
  287. <attribution license="cc4" from="Microsoft" modified="false" />
  288. <para>If the <see cref="T:System.Data.DataTable" /> does not exist, the specified <see cref="T:System.Data.MissingSchemaAction" /> is taken.</para>
  289. </remarks>
  290. <summary>
  291. <attribution license="cc4" from="Microsoft" modified="false" />
  292. <para>Gets the current <see cref="T:System.Data.DataTable" /> for the specified <see cref="T:System.Data.DataSet" /> using the specified <see cref="T:System.Data.MissingSchemaAction" /> value.</para>
  293. </summary>
  294. <returns>
  295. <attribution license="cc4" from="Microsoft" modified="false" />
  296. <para>A data table.</para>
  297. </returns>
  298. <param name="dataSet">
  299. <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Data.DataSet" /> from which to get the <see cref="T:System.Data.DataTable" />. </param>
  300. <param name="schemaAction">
  301. <attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Data.MissingSchemaAction" /> values. </param>
  302. </Docs>
  303. <AssemblyInfo>
  304. <AssemblyVersion>1.0.5000.0</AssemblyVersion>
  305. <AssemblyVersion>2.0.0.0</AssemblyVersion>
  306. </AssemblyInfo>
  307. <Attributes>
  308. <Attribute>
  309. <AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
  310. </Attribute>
  311. </Attributes>
  312. </Member>
  313. <Member MemberName="SourceTable">
  314. <MemberSignature Language="C#" Value="public string SourceTable { set; get; }" />
  315. <MemberType>Property</MemberType>
  316. <ReturnValue>
  317. <ReturnType>System.String</ReturnType>
  318. </ReturnValue>
  319. <Parameters>
  320. </Parameters>
  321. <Docs>
  322. <value>To be added: an object of type 'string'</value>
  323. <remarks>To be added</remarks>
  324. <summary>
  325. <attribution license="cc4" from="Microsoft" modified="false" />
  326. <para>Gets or sets the case-sensitive source table name from a data source.</para>
  327. </summary>
  328. </Docs>
  329. <AssemblyInfo>
  330. <AssemblyVersion>1.0.5000.0</AssemblyVersion>
  331. <AssemblyVersion>2.0.0.0</AssemblyVersion>
  332. </AssemblyInfo>
  333. <Attributes>
  334. <Attribute>
  335. <AttributeName>System.ComponentModel.DefaultValue("")</AttributeName>
  336. </Attribute>
  337. </Attributes>
  338. </Member>
  339. <Member MemberName="System.Data.ITableMapping.ColumnMappings">
  340. <MemberSignature Language="C#" Value="System.Data.IColumnMappingCollection System.Data.ITableMapping.ColumnMappings { get; }" />
  341. <MemberType>Property</MemberType>
  342. <AssemblyInfo>
  343. <AssemblyVersion>1.0.5000.0</AssemblyVersion>
  344. <AssemblyVersion>2.0.0.0</AssemblyVersion>
  345. </AssemblyInfo>
  346. <ReturnValue>
  347. <ReturnType>System.Data.IColumnMappingCollection</ReturnType>
  348. </ReturnValue>
  349. <Docs>
  350. <value>To be added.</value>
  351. <remarks>
  352. <attribution license="cc4" from="Microsoft" modified="false" />
  353. <para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.Data.Common.DataTableMapping" /> instance is cast to an <see cref="T:System.Data.ITableMapping" /> interface.</para>
  354. <para>For more information, see <see cref="P:System.Data.ITableMapping.ColumnMappings" />.</para>
  355. </remarks>
  356. <summary>
  357. <attribution license="cc4" from="Microsoft" modified="false" />
  358. <para>Gets the derived <see cref="T:System.Data.Common.DataColumnMappingCollection" /> for the <see cref="T:System.Data.DataTable" />.</para>
  359. </summary>
  360. </Docs>
  361. </Member>
  362. <Member MemberName="System.ICloneable.Clone">
  363. <MemberSignature Language="C#" Value="object ICloneable.Clone ();" />
  364. <MemberType>Method</MemberType>
  365. <AssemblyInfo>
  366. <AssemblyVersion>1.0.5000.0</AssemblyVersion>
  367. <AssemblyVersion>2.0.0.0</AssemblyVersion>
  368. </AssemblyInfo>
  369. <ReturnValue>
  370. <ReturnType>System.Object</ReturnType>
  371. </ReturnValue>
  372. <Parameters />
  373. <Docs>
  374. <remarks>
  375. <attribution license="cc4" from="Microsoft" modified="false" />
  376. <para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.Data.Common.DataTableMapping" /> instance is cast to an <see cref="T:System.ICloneable" /> interface.</para>
  377. <para>For more information, see <see cref="M:System.ICloneable.Clone" />.</para>
  378. </remarks>
  379. <summary>
  380. <attribution license="cc4" from="Microsoft" modified="false" />
  381. <para>Creates a new object that is a copy of the current instance.</para>
  382. </summary>
  383. <returns>
  384. <attribution license="cc4" from="Microsoft" modified="false" />
  385. <para>A new object that is a copy of the current instance.</para>
  386. </returns>
  387. </Docs>
  388. </Member>
  389. <Member MemberName="ToString">
  390. <MemberSignature Language="C#" Value="public override string ToString ();" />
  391. <MemberType>Method</MemberType>
  392. <ReturnValue>
  393. <ReturnType>System.String</ReturnType>
  394. </ReturnValue>
  395. <Parameters />
  396. <Docs>
  397. <remarks>To be added</remarks>
  398. <summary>
  399. <attribution license="cc4" from="Microsoft" modified="false" />
  400. <para>Converts the current <see cref="P:System.Data.Common.DataTableMapping.SourceTable" /> name to a string.</para>
  401. </summary>
  402. <returns>
  403. <attribution license="cc4" from="Microsoft" modified="false" />
  404. <para>The current <see cref="P:System.Data.Common.DataTableMapping.SourceTable" /> name, as a string.</para>
  405. </returns>
  406. </Docs>
  407. <AssemblyInfo>
  408. <AssemblyVersion>1.0.5000.0</AssemblyVersion>
  409. <AssemblyVersion>2.0.0.0</AssemblyVersion>
  410. </AssemblyInfo>
  411. </Member>
  412. </Members>
  413. </Type>