BusinessLogicDataAdapter.CreateRowUpdatingEvent 方法
Initializes a new instance of the RowUpdatingEventArgs class.
命名空间: Microsoft.SqlServer.Replication.BusinessLogicSupport
程序集: Microsoft.SqlServer.Replication.BusinessLogicSupport(在 Microsoft.SqlServer.Replication.BusinessLogicSupport.dll 中)
语法
声明
Protected Overrides Function CreateRowUpdatingEvent ( _
dataRow As DataRow, _
command As IDbCommand, _
statementType As StatementType, _
tableMapping As DataTableMapping _
) As RowUpdatingEventArgs
用法
Dim dataRow As DataRow
Dim command As IDbCommand
Dim statementType As StatementType
Dim tableMapping As DataTableMapping
Dim returnValue As RowUpdatingEventArgs
returnValue = Me.CreateRowUpdatingEvent(dataRow, _
command, statementType, tableMapping)
protected override RowUpdatingEventArgs CreateRowUpdatingEvent(
DataRow dataRow,
IDbCommand command,
StatementType statementType,
DataTableMapping tableMapping
)
protected:
virtual RowUpdatingEventArgs^ CreateRowUpdatingEvent(
DataRow^ dataRow,
IDbCommand^ command,
StatementType statementType,
DataTableMapping^ tableMapping
) override
abstract CreateRowUpdatingEvent :
dataRow:DataRow *
command:IDbCommand *
statementType:StatementType *
tableMapping:DataTableMapping -> RowUpdatingEventArgs
override CreateRowUpdatingEvent :
dataRow:DataRow *
command:IDbCommand *
statementType:StatementType *
tableMapping:DataTableMapping -> RowUpdatingEventArgs
protected override function CreateRowUpdatingEvent(
dataRow : DataRow,
command : IDbCommand,
statementType : StatementType,
tableMapping : DataTableMapping
) : RowUpdatingEventArgs
参数
- dataRow
类型:System.Data.DataRow
The DataRow that updates the data source.
- command
类型:System.Data.IDbCommand
The IDbCommand to execute during the update.
- statementType
类型:System.Data.StatementType
Whether the command is an UPDATE, INSERT, DELETE, or SELECT statement.
- tableMapping
类型:System.Data.Common.DataTableMapping
A DataTableMapping object.
返回值
类型:System.Data.Common.RowUpdatingEventArgs
A new instance of the RowUpdatingEventArgs class.