﻿<?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?)  » AfterSave event</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Fri, 12 Jun 2026 11:03:56 GMT</lastBuildDate><ttl>20</ttl><item><title>AfterSave event</title><link>http://forum.strataframe.net/FindPost8689.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;I need to be notified when BO.Save() is successful. I tried to bind to BO.AfterSave() event but this event will be raised once the BO saved data successfully, even though its child/parent BO.save() is not yet called.&lt;/P&gt;&lt;P&gt;Which event will be fired after BO.Save(), including all dependencies BO?&lt;/P&gt;&lt;P&gt;Thank you</description><pubDate>Sun, 06 May 2007 20:12:07 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: AfterSave event</title><link>http://forum.strataframe.net/FindPost8692.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;Sorry to answer your question. I need to execute some action and set some flags once SourceBO.Save() is successfully. I want to encapsulate all these actions in my class therefore I cant check for saveresult and do something in form.&lt;/P&gt;&lt;P&gt;Thank you</description><pubDate>Sun, 06 May 2007 20:12:07 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: AfterSave event</title><link>http://forum.strataframe.net/FindPost8691.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;Actually I am writing a class that similar with BusinessLinkManager but mine is one to one relationship. This class will accept sourceBO and BusinessLayerCollection as parameter. It bind events like aftersave, afterundo and etc. &lt;/P&gt;&lt;P&gt;For example, when&amp;nbsp;SourceBO.AfterAddNew() event fired, this class will&amp;nbsp;call BOs.Add() method&amp;nbsp;in BusinessLayerCollection so that these BOs "look like" single table. I know I can use view to accomplish this, but I don't prefer to write INSTEAD OF trigger because it is slower.&lt;/P&gt;&lt;P&gt;Thank you</description><pubDate>Sun, 06 May 2007 20:09:19 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: AfterSave event</title><link>http://forum.strataframe.net/FindPost8690.aspx</link><description>Chan,&lt;/P&gt;&lt;P&gt;Why not just use the save result?&lt;/P&gt;&lt;P&gt;if bo.save() = &lt;FONT size=2&gt;MicroFour.StrataFrame.Data.SaveUndoResult.Success&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;do whatever</description><pubDate>Sun, 06 May 2007 09:53:42 GMT</pubDate><dc:creator>Paul Chase</dc:creator></item></channel></rss>