﻿<?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?)  » SharedDataTable usage</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 07:02:29 GMT</lastBuildDate><ttl>20</ttl><item><title>SharedDataTable usage</title><link>http://forum.strataframe.net/FindPost16462.aspx</link><description>For understanding the usage of the Shareddatatable ;&lt;/P&gt;&lt;P&gt;BusinessObject1 and BusinessObject2 are the two objects of same type. These are on different forms.&lt;/P&gt;&lt;P&gt;Each of them has an internal table. Let's say table1 anf table2.&lt;/P&gt;&lt;P&gt;After BusinessObject1.SharedDataTableKey is assigned with a key (&amp;nbsp;Mykey).&lt;/P&gt;&lt;P&gt;What happens ? (The second Object's SharedDataTableKey&amp;nbsp;has not been&amp;nbsp;assigned yet.)&lt;/P&gt;&lt;P&gt;Does the framework allocate a new datatable for sharing ? &lt;/P&gt;&lt;P&gt;After BusinessObject2.SharedDataTableKey is assigned with the same&amp;nbsp;key (&amp;nbsp;Mykey).&lt;/P&gt;&lt;P&gt;BusinessObjects2 uses BusinessObject1's internal table as shareddatatable ? Is it correct ?</description><pubDate>Wed, 21 May 2008 08:55:35 GMT</pubDate><dc:creator>Ertan Deniz</dc:creator></item><item><title>RE: SharedDataTable usage</title><link>http://forum.strataframe.net/FindPost16476.aspx</link><description>Thanks. It is so clear.&amp;nbsp;</description><pubDate>Wed, 21 May 2008 08:55:35 GMT</pubDate><dc:creator>Ertan Deniz</dc:creator></item><item><title>RE: SharedDataTable usage</title><link>http://forum.strataframe.net/FindPost16475.aspx</link><description>[quote]&lt;P&gt;What happens ? (The second Object's SharedDataTableKey&amp;nbsp;has not been&amp;nbsp;assigned yet.)&lt;/P&gt;&lt;P&gt;Does the framework allocate a new datatable for sharing ?[/quote]&lt;/P&gt;&lt;P&gt;No.&amp;nbsp; They share the same data table.&amp;nbsp; I recommend opening up the source and taking a look as this is the best way to understand how it works.&amp;nbsp; There is a collection on the BusinessLayer called _SharedDataTables that gets pulled from when accessing the CurrentDataTable of the business object.&amp;nbsp; If you have the SharedDataTableKey set, it will pull from the shared collection versus the internal data table.&amp;nbsp; If a key does not exists within the shared collection when accessed, it will then create a data table for that key in the shared data table collection.</description><pubDate>Wed, 21 May 2008 08:48:26 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: SharedDataTable usage</title><link>http://forum.strataframe.net/FindPost16471.aspx</link><description>Any Comment ?</description><pubDate>Wed, 21 May 2008 00:53:49 GMT</pubDate><dc:creator>Ertan Deniz</dc:creator></item></channel></rss>