Patterns for Loading Objectshttp://forums.asp.net/t/1773502.aspx/1?Patterns+for+Loading+ObjectsSat, 25 Feb 2012 03:04:03 -050017735024849667http://forums.asp.net/p/1773502/4849667.aspx/1?Patterns+for+Loading+ObjectsPatterns for Loading Objects <p>I have found a very common scenario in alot of applications that I build, that being of loading Data Objects for use by my applications.</p> <p></p> <p>I am trying to figure out the best way to make a &quot;standard&quot; in my application framework for loading objects and passing them back for an application to use.</p> <p></p> <p>Some things specifically speaking:</p> <ol> <li>Child collections on objects. </li><li>In my Data Access Layer, should I return an object or a Datatable.&nbsp; <ol> <li>Should DAL classes be static? </li><li>NOTE: Highly unlikely to change dbproviders. This is not a concern. </li></ol> </li><li>Use Factory Pattern or other creational patterns for complex objects.&nbsp; </li></ol> <p>Thanks in advance, looking forward to a good discussion.</p> 2012-02-24T15:45:52-05:004850224http://forums.asp.net/p/1773502/4850224.aspx/1?Re+Patterns+for+Loading+ObjectsRe: Patterns for Loading Objects <p>Did you have a look&nbsp; at EF and Lazy loading?</p> 2012-02-25T03:04:03-05:00