﻿<?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 » Enhancement Requests  » Support for Filters in BO.RestoreCurrentDataTableSnapshot()</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 05:51:04 GMT</lastBuildDate><ttl>20</ttl><item><title>Support for Filters in BO.RestoreCurrentDataTableSnapshot()</title><link>http://forum.strataframe.net/FindPost24165.aspx</link><description>Currently the BO.RestoreCurrentDataTableSnapshot() does not support any filter applied to the BO prior to the snapshot.  &lt;br&gt;
&lt;br&gt;
I am using a lot the BO.Filter feature and was bitten by this issue until I realized that the BO.filter was not taken into consideration when using the BO.SaveCurrentDataTableToSnapshot().  &lt;br&gt;
&lt;br&gt;
So due to the meaning of the world "SnapShot", I believe it would be very helpful to also respect the applied filter to the BO at the time of using BO.SaveCurrentDataTableToSnapshot() and when using the BO.RestoreCurrentDataTableSnapshot() that the filter be re-applied.&lt;br&gt;
&lt;br&gt;
Thanks!</description><pubDate>Thu, 13 Aug 2009 08:47:20 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Support for Filters in BO.RestoreCurrentDataTableSnapshot()</title><link>http://forum.strataframe.net/FindPost24172.aspx</link><description>I will have to test this as if it is an issue, then it is an issue with the ADO.NET DataTable.Clone().  If you look at the source, we simply clone the data table which also contains the view reference in the DefaultView property to which the filter is actually set.  So if this is happening, then it is something that we will have to add additional logic since the root level clone is not handling it (though it should).  So I will have to test this and see if it is actually in the cloned object.</description><pubDate>Thu, 13 Aug 2009 08:47:20 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>