﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Business Objects and Data Access (How do I?)  » Transaction Support For DeleteByPrimaryKey</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 03:08:25 GMT</lastBuildDate><ttl>20</ttl><item><title>Transaction Support For DeleteByPrimaryKey</title><link>http://forum.strataframe.net/FindPost15519.aspx</link><description>I need to execute DeleteByPrimaryKey as part of a transaction.&lt;/P&gt;&lt;P&gt;I've seen that Overload method does not exist.&lt;/P&gt;&lt;P&gt;What should I do ? If I use QueryInformation class for delete ,How can I execute this instance of QueryInformation. ?&lt;/P&gt;&lt;P&gt;We know that FillDataTable gets QueryInformation as parameter for fill queries. But What about Delete,update,Insert Queries ?</description><pubDate>Tue, 15 Apr 2008 09:36:21 GMT</pubDate><dc:creator>Ertan Deniz</dc:creator></item><item><title>RE: Transaction Support For DeleteByPrimaryKey</title><link>http://forum.strataframe.net/FindPost15629.aspx</link><description>There is no conflict with the documentation.&amp;nbsp; If you call the DeleteCurrentRow with a False, then it is immediately removed from the server.</description><pubDate>Tue, 15 Apr 2008 09:36:21 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Transaction Support For DeleteByPrimaryKey</title><link>http://forum.strataframe.net/FindPost15626.aspx</link><description>DeleteCurrentRow() is executed by internally with two parameters having true values. (CheckSecurity,OnlyMarkAsDeleted)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In this case, there is a conflict with documentation. DeleteCurrentRow(true,true) will mark the current record as deleted.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;From StrataFrame Documentation&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;"DeleteCurrentRow() &lt;BR&gt;When this overload is called, the record being deleted is immediately removed from the server and the internal data table is updated."</description><pubDate>Tue, 15 Apr 2008 07:57:44 GMT</pubDate><dc:creator>Ertan Deniz</dc:creator></item><item><title>RE: Transaction Support For DeleteByPrimaryKey</title><link>http://forum.strataframe.net/FindPost15535.aspx</link><description>I want to use&amp;nbsp;DeleteByPrimaryKey method. But I need to run that method as part of a transaction.&lt;/P&gt;&lt;P&gt;As I understand, It is not used this way. If I call this method between TransactionBegin and TransactionCommit statements, It is executed outside the transaction.</description><pubDate>Fri, 11 Apr 2008 08:51:56 GMT</pubDate><dc:creator>Ertan Deniz</dc:creator></item><item><title>RE: Transaction Support For DeleteByPrimaryKey</title><link>http://forum.strataframe.net/FindPost15530.aspx</link><description>You will not want to use the DeleteByPrimaryKey command but rather the DeleteCurrentRow command.&amp;nbsp; Then when you save on the transaction this record will be deleted on the transaction.&amp;nbsp; The transaction is started at the point of the Save(), so if you call the DeleteByPrimaryKey it will just delete the record from the server outside of the transaction.</description><pubDate>Fri, 11 Apr 2008 08:35:00 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>