delphi使用ODAC控件操作本地数据集

使用TOraQuery查询数据,对TOraQuery查询到的数据进行本地操作,不提交到数据库

设置TOraQuery.LocalUpdate  := True;

TOraQuery.Post; TOraSession.ApplyUpdates; TOraSession.Commit; 操作都不会再将数据提交到数据库

 

posted @ 2020-07-31 08:56  txgh  阅读(219)  评论(0编辑  收藏  举报