<?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>CSLA .NET discussion</title><link>http://forums.lhotka.net/forums/5.aspx</link><description>General discussion about CSLA .NET</description><dc:language /><generator>CommunityServer 2008.5 SP3 (Build: 36.8414)</generator><item><title>Re: MarkAsChild and ReadOnlyBase child objects.</title><link>http://forums.lhotka.net/forums/thread/52630.aspx</link><pubDate>Tue, 24 Apr 2012 14:00:36 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:52630</guid><dc:creator>JonnyBee</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/52630.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=52630</wfw:commentRss><description>&lt;p&gt;MarkAsChild is only valid for EditableObjects and will make the object block Save() method.&lt;/p&gt;
&lt;p&gt;IE: If you call Save on an object that is MarkedAsChiild it will throw exception.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Child editable lists will only accept objects that are marked with MarkAsChild.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>MarkAsChild and ReadOnlyBase child objects.</title><link>http://forums.lhotka.net/forums/thread/52628.aspx</link><pubDate>Tue, 24 Apr 2012 12:58:54 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:52628</guid><dc:creator>tarekahf</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/52628.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=52628</wfw:commentRss><description>&lt;p&gt;I wanted to create a Child ReadOnlyBase, and I was checking template (.NET 2.0), &amp;quot;ReadOnlyChild.vb&amp;quot; and I did not find &amp;quot;MarkAsChild()&amp;quot;.&lt;/p&gt;
&lt;p&gt;Does this mean that for Readonly Child Object, there is no need to mark the object as child?&lt;/p&gt;
&lt;p&gt;What is the purpose of marking child objects as &amp;quot;child&amp;quot;?&lt;/p&gt;
&lt;p&gt;Tarek.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>