暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

GBase 8a 程序员手册 ADO.NET 篇-13.13

三金先生 2022-05-30
176

13.13 GBaseRowUpdatingEventArgs 类
提供用于 RowUpdating 事件的数据。这个类不能被继承。对于该类所有成
员的列表,参考 GBaseRowUpdatingEventArgs 成员。
 继承层次
System.Object
|__ System.EventArgs
|__ System.Data.Common.RowUpdatingEventArgs
|__ GBase.Data.GBaseClient.GBaseRowUpdatingEventArgs
 语法
[Visual Basic]
Public NotInheritable Class GBaseRowUpdatingEventArgs _
Inherits RowUpdatingEventArgs
[C#]
public sealed class GBaseRowUpdatingEventArgs :
RowUpdatingEventArgs
 线程安全性
这个类型的公共静态成员(在 Visual Basic 中为 Shared)对于多线程操
作是保证线程安全的,对于实例不保证线程安全性。
 必要条件
命名空间:GBase.Data.GBaseClient

13.13.1GBaseRowUpdatingEventArgs 成员
公共构造函数 


13.13.2GBaseRowUpdatingEventArgs 构造函数
初始化一个新的 GBaseRowUpdatedEventArgs 类实例。
 语法
[Visual Basic] GBase 8a 程序员手册 ADO.NET 篇
南大通用数据技术股份有限公司 - 321 -
Public Sub New ( _
row As DataRow, _
command As IDbCommand, _
statementType As StatementType, _
tableMapping As DataTableMapping _
)
[C#]
public GBaseRowUpdatingEventArgs(
DataRow row,
IDbCommand command,
StatementType statementType,
DataTableMapping tableMapping
)
 参数
1) row :通过 Update 发送的 DataRow ;
2) command :当调用 Update 时执行的 IDbCommand ;
3) statementType :指定查询类型的 StatementType 值之一 ;
4) tableMapping :通过 Update 发送的 DataTableMapping。
13.13.3GBaseRowUpdatingEventArgs属性
13.13.3.1 Command 属性
当调用 Update 的时候获取或设置 GBaseCommand。
 语法
[Visual Basic]
Public Property Command As GBaseCommand
Get
Set
[C#]
public GBaseCommand Command { get; set; }

「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论