﻿<?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?)  » Override dispose method</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 12:20:25 GMT</lastBuildDate><ttl>20</ttl><item><title>Override dispose method</title><link>http://forum.strataframe.net/FindPost28677.aspx</link><description>Hi&lt;div&gt;I have added new property to hold / create another BO A within BO C. I would like to have clean up code whenever BO C is dispose. I tried to override Dispose() however, I found that it is generated under designer.cs. How could I have my clean up code outside of designer.cs as it will always be regenerated / overwritten?&lt;br/&gt;&lt;br/&gt;&lt;div&gt;Thank you</description><pubDate>Thu, 14 Oct 2010 20:17:17 GMT</pubDate><dc:creator>ChanKK</dc:creator></item><item><title>RE: Override dispose method</title><link>http://forum.strataframe.net/FindPost28700.aspx</link><description>I hope SF can provide permanent solution.&lt;br/&gt;&lt;br/&gt;&lt;div&gt;Thank you</description><pubDate>Thu, 14 Oct 2010 20:17:17 GMT</pubDate><dc:creator>ChanKK</dc:creator></item><item><title>RE: Override dispose method</title><link>http://forum.strataframe.net/FindPost28681.aspx</link><description>I just move it to the normal file (with your fill methods etc.) and customize it there.&amp;nbsp; Then when it gets overwritten, you'll get a compile error and know to go delete it in the designer again.&lt;br/&gt;&lt;br/&gt;I'll investigate a more elegant solution for the future...</description><pubDate>Wed, 13 Oct 2010 11:10:54 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item></channel></rss>