TCustomADODataSet::UpdateBatch函数的用法

TCustomADODataSet::UpdateBatch

enter键 发泄超大号解压回车键usb电脑办公键盘程序员解压神器抖音网红Big Enter午睡枕头解压发送键创意礼物
解压神器 网红同款 一键多用 午睡枕头 | 月销量910件
优惠价19.8元
原价¥39

淘口令:

¥EyNNXP1CPCY¥
 

将未处理的更新保存到数据库。

enum TAffectRecords { arCurrent, arFiltered, arAll, arAllChapters };

void __fastcall UpdateBatch(TAffectRecords AffectRecords = arAll);

函数说明;

调用 UpdateBatch 函数将对数据集dataset所有修改写入数据库文件。

in batch update mode to the associated database. The AffectRecords parameter may be any one of the following TAffectRecords values: Option Meaning arCurrent Only the updates for the current row are applied. arFiltered Only updates for rows matching the current filter are applied. arAll Updates for all rows are applied. arAllChapters Update affects all chapters (ADO chapters) Note: To use batch updating, the CursorType property of the dataset component must be either ctKeySet (the default) or ctStatic and the LockType property must be ltBatchOptimistic.

© 版权声明
THE END
喜欢就支持一下吧,技术咨询可以联系QQ407933975
点赞0
分享
评论 抢沙发