﻿<?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 / Business Objects and Data Access (How do I?)  / Transaction Support For DeleteByPrimaryKey / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>forum@strataframe.net</webMaster><lastBuildDate>Tue, 02 Dec 2008 17:00:50 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Transaction Support For DeleteByPrimaryKey</title><link>http://forum.strataframe.net/Topic15519-6-1.aspx</link><description>There is no conflict with the documentation.  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/Topic15519-6-1.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/Topic15519-6-1.aspx</link><description>I want to use 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/Topic15519-6-1.aspx</link><description>You will not want to use the DeleteByPrimaryKey command but rather the DeleteCurrentRow command.  Then when you save on the transaction this record will be deleted on the transaction.  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><item><title>Transaction Support For DeleteByPrimaryKey</title><link>http://forum.strataframe.net/Topic15519-6-1.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>Fri, 11 Apr 2008 03:43:19 GMT</pubDate><dc:creator>Ertan Deniz</dc:creator></item></channel></rss>