<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.lhotka.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results matching tags 'Data portal', 'CSLA 3.8.4', and 'Dal'</title><link>http://forums.lhotka.net/search/SearchResults.aspx?a=0&amp;g=4&amp;o=DateDescending&amp;tag=Data+portal,CSLA+3.8.4,Dal&amp;orTags=0</link><description>Search results matching tags 'Data portal', 'CSLA 3.8.4', and 'Dal'</description><dc:language>en-US</dc:language><generator>CommunityServer 2008.5 SP3 (Build: 36.8414)</generator><item><title>ObjectFactory with different types of BOs</title><link>http://forums.lhotka.net/forums/p/11021/51264.aspx#51264</link><pubDate>Tue, 27 Dec 2011 13:57:44 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:51264</guid><dc:creator>mspaourh</dc:creator><description>&lt;p&gt;Hi everyone,&lt;/p&gt;
&lt;p&gt;Is it possible to use a single ObjectFactory class that determines the type of BO to operate on at run-time?&lt;/p&gt;
&lt;p&gt;There is a custom base class (e.g subclass of ReadOnlyBase&amp;lt;T&amp;gt;) that has the ObjectFactoryAttribute applied on it and all its subclasses should use the same ObjectFactory, unless otherwise specified.&lt;/p&gt;
&lt;p&gt;There seems to be no way of communicating the actual business object type from the FactoryDataPortal to the ObjectFactory instance.&lt;/p&gt;
&lt;p&gt;Using CSLA 3.8.4&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks in advance,&lt;/p&gt;
&lt;p&gt;Mario&lt;/p&gt;</description></item></channel></rss>