使用TOraQuery查询数据,对TOraQuery查询到的数据进行本地操作,不提交到数据库
设置TOraQuery.LocalUpdate := True;
TOraQuery.Post; TOraSession.ApplyUpdates; TOraSession.Commit; 操作都不会再将数据提交到数据库