a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
113 lines
5.6 KiB
XML
113 lines
5.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Type Name="OdbcRowUpdatingEventArgs" FullName="System.Data.Odbc.OdbcRowUpdatingEventArgs">
|
|
<TypeSignature Language="C#" Value="public sealed class OdbcRowUpdatingEventArgs : System.Data.Common.RowUpdatingEventArgs" />
|
|
<AssemblyInfo>
|
|
<AssemblyName>System.Data</AssemblyName>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<Base>
|
|
<BaseTypeName>System.Data.Common.RowUpdatingEventArgs</BaseTypeName>
|
|
</Base>
|
|
<Interfaces />
|
|
<Docs>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>The <see cref="E:System.Data.Odbc.OdbcDataAdapter.RowUpdating" /> event is raised before an update to a row.</para>
|
|
<para>When using the Update method, there are two events that occur for each data row updated: <see cref="E:System.Data.Odbc.OdbcDataAdapter.RowUpdating" /> and <see cref="E:System.Data.Odbc.OdbcDataAdapter.RowUpdated" />. The order of execution for an update operation is as follows:</para>
|
|
<list type="ordered">
|
|
<item>
|
|
<para>The values in the <see cref="T:System.Data.DataRow" /> are moved to the parameter values.</para>
|
|
</item>
|
|
<item>
|
|
<para>The <see cref="M:System.Data.Common.DbDataAdapter.OnRowUpdating(System.Data.Common.RowUpdatingEventArgs)" /> event is raised.</para>
|
|
</item>
|
|
<item>
|
|
<para>The command executes.</para>
|
|
</item>
|
|
<item>
|
|
<para>If the command is set to FirstReturnedRecord, then the first returned result is placed in the <see cref="T:System.Data.DataRow" />.</para>
|
|
</item>
|
|
<item>
|
|
<para>If there are output parameters, they are placed in the <see cref="T:System.Data.DataRow" />.</para>
|
|
</item>
|
|
<item>
|
|
<para>The <see cref="M:System.Data.Common.DbDataAdapter.OnRowUpdated(System.Data.Common.RowUpdatedEventArgs)" /> event is raised.</para>
|
|
</item>
|
|
<item>
|
|
<para>
|
|
<see cref="M:System.Data.DataRow.AcceptChanges" /> is called.</para>
|
|
</item>
|
|
</list>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Provides data for the <see cref="E:System.Data.Odbc.OdbcDataAdapter.RowUpdating" /> event.</para>
|
|
</summary>
|
|
</Docs>
|
|
<Members>
|
|
<Member MemberName=".ctor">
|
|
<MemberSignature Language="C#" Value="public OdbcRowUpdatingEventArgs (System.Data.DataRow row, System.Data.IDbCommand command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping);" />
|
|
<MemberType>Constructor</MemberType>
|
|
<Parameters>
|
|
<Parameter Name="row" Type="System.Data.DataRow" />
|
|
<Parameter Name="command" Type="System.Data.IDbCommand" />
|
|
<Parameter Name="statementType" Type="System.Data.StatementType" />
|
|
<Parameter Name="tableMapping" Type="System.Data.Common.DataTableMapping" />
|
|
</Parameters>
|
|
<Docs>
|
|
<remarks>To be added.</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Initializes a new instance of the <see cref="T:System.Data.Odbc.OdbcRowUpdatingEventArgs" /> class.</para>
|
|
</summary>
|
|
<param name="row">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Data.DataRow" /> to update. </param>
|
|
<param name="command">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Data.Odbc.OdbcCommand" /> to execute during the update operation. </param>
|
|
<param name="statementType">
|
|
<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>
|
|
<param name="tableMapping">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Data.Common.DataTableMapping" /> sent through <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" />. </param>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
<Member MemberName="BaseCommand">
|
|
<MemberSignature Language="C#" Value="protected override System.Data.IDbCommand BaseCommand { set; get; }" />
|
|
<MemberType>Property</MemberType>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<ReturnValue>
|
|
<ReturnType>System.Data.IDbCommand</ReturnType>
|
|
</ReturnValue>
|
|
<Docs>
|
|
<summary>To be added.</summary>
|
|
<value>To be added.</value>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="Command">
|
|
<MemberSignature Language="C#" Value="public System.Data.Odbc.OdbcCommand Command { set; get; }" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Data.Odbc.OdbcCommand</ReturnType>
|
|
</ReturnValue>
|
|
<Docs>
|
|
<value>To be added.</value>
|
|
<remarks>To be added.</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Gets or sets the <see cref="T:System.Data.Odbc.OdbcCommand" /> to execute when <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" /> is called.</para>
|
|
</summary>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
</Members>
|
|
</Type> |