SqlRowUpdatedEventArgs.xml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Type Name="SqlRowUpdatedEventArgs" FullName="System.Data.SqlClient.SqlRowUpdatedEventArgs">
  3. <TypeSignature Language="C#" Value="public sealed class SqlRowUpdatedEventArgs : System.Data.Common.RowUpdatedEventArgs" Maintainer="auto" />
  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.Data.Common.RowUpdatedEventArgs</BaseTypeName>
  14. </Base>
  15. <Interfaces />
  16. <Docs>
  17. <remarks>
  18. <attribution license="cc4" from="Microsoft" modified="false" />
  19. <para>The <see cref="E:System.Data.SqlClient.SqlDataAdapter.RowUpdated" /> event is raised when an <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" /> to a row is completed.</para>
  20. <para>When using <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" />, there are two events that occur for each data row updated. The order of execution is as follows: </para>
  21. <list type="ordered">
  22. <item>
  23. <para>The values in the <see cref="T:System.Data.DataRow" /> are moved to the parameter values.</para>
  24. </item>
  25. <item>
  26. <para>The <see cref="M:System.Data.Common.DbDataAdapter.OnRowUpdating(System.Data.Common.RowUpdatingEventArgs)" /> event is raised.</para>
  27. </item>
  28. <item>
  29. <para>The command executes.</para>
  30. </item>
  31. <item>
  32. <para>If the command is set to FirstReturnedRecord, and the first returned result is placed in the <see cref="T:System.Data.DataRow" />.</para>
  33. </item>
  34. <item>
  35. <para>If there are output parameters, they are placed in the <see cref="T:System.Data.DataRow" />.</para>
  36. </item>
  37. <item>
  38. <para>The <see cref="M:System.Data.Common.DbDataAdapter.OnRowUpdated(System.Data.Common.RowUpdatedEventArgs)" /> event is raised.</para>
  39. </item>
  40. <item>
  41. <para>
  42. <see cref="M:System.Data.DataRow.AcceptChanges" /> is called.</para>
  43. </item>
  44. </list>
  45. </remarks>
  46. <summary>
  47. <attribution license="cc4" from="Microsoft" modified="false" />
  48. <para>Provides data for the <see cref="E:System.Data.SqlClient.SqlDataAdapter.RowUpdated" /> event.</para>
  49. </summary>
  50. </Docs>
  51. <Members>
  52. <Member MemberName=".ctor">
  53. <MemberSignature Language="C#" Value="public SqlRowUpdatedEventArgs (System.Data.DataRow row, System.Data.IDbCommand command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping);" />
  54. <MemberType>Constructor</MemberType>
  55. <ReturnValue />
  56. <Parameters>
  57. <Parameter Name="row" Type="System.Data.DataRow" />
  58. <Parameter Name="command" Type="System.Data.IDbCommand" />
  59. <Parameter Name="statementType" Type="System.Data.StatementType" />
  60. <Parameter Name="tableMapping" Type="System.Data.Common.DataTableMapping" />
  61. </Parameters>
  62. <Docs>
  63. <remarks>To be added</remarks>
  64. <summary>
  65. <attribution license="cc4" from="Microsoft" modified="false" />
  66. <para>Initializes a new instance of the <see cref="T:System.Data.SqlClient.SqlRowUpdatedEventArgs" /> class.</para>
  67. </summary>
  68. <param name="row">
  69. <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Data.DataRow" /> sent through an <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" />. </param>
  70. <param name="command">
  71. <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Data.IDbCommand" /> executed when <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" /> is called. </param>
  72. <param name="statementType">
  73. <attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Data.StatementType" /> values that specifies the type of query executed. </param>
  74. <param name="tableMapping">
  75. <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Data.Common.DataTableMapping" /> sent through an <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" />.</param>
  76. </Docs>
  77. <AssemblyInfo>
  78. <AssemblyVersion>1.0.5000.0</AssemblyVersion>
  79. <AssemblyVersion>2.0.0.0</AssemblyVersion>
  80. </AssemblyInfo>
  81. </Member>
  82. <Member MemberName="Command">
  83. <MemberSignature Language="C#" Value="public System.Data.SqlClient.SqlCommand Command { get; }" />
  84. <MemberType>Property</MemberType>
  85. <ReturnValue>
  86. <ReturnType>System.Data.SqlClient.SqlCommand</ReturnType>
  87. </ReturnValue>
  88. <Docs>
  89. <value>To be added: an object of type 'SqlCommand'</value>
  90. <remarks>To be added</remarks>
  91. <summary>
  92. <attribution license="cc4" from="Microsoft" modified="false" />
  93. <para>Gets or sets the <see cref="T:System.Data.SqlClient.SqlCommand" /> executed when <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" /> is called.</para>
  94. </summary>
  95. </Docs>
  96. <AssemblyInfo>
  97. <AssemblyVersion>1.0.5000.0</AssemblyVersion>
  98. <AssemblyVersion>2.0.0.0</AssemblyVersion>
  99. </AssemblyInfo>
  100. </Member>
  101. </Members>
  102. </Type>