<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Channel 9 Forums - Coffeehouse - Can I have simple POCO without the FixupCollection stuff?</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Forums/rss"></atom:link>
	<image>
		<url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
		<title>Channel 9 Forums - Coffeehouse - Can I have simple POCO without the FixupCollection stuff?</title>
		<link>http://channel9.msdn.com/Forums</link>
	</image>
	<description>Channel 9 keeps you up to date with the latest news and behind the scenes info from Microsoft that developers love to keep up with. From LINQ to SilverLight – Watch videos and hear about all the cool technologies coming and the people behind them.</description>
	<link>http://channel9.msdn.com/Forums</link>
	<language>en</language>
	<pubDate>Tue, 21 May 2013 20:19:19 GMT</pubDate>
	<lastBuildDate>Tue, 21 May 2013 20:19:19 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<c9:totalResults>2</c9:totalResults>
	<c9:pageCount>-2</c9:pageCount>
	<c9:pageSize>-1</c9:pageSize>
	<item>
		<title>Coffeehouse - Can I have simple POCO without the FixupCollection stuff?</title>
		<description><![CDATA[<p><div class="post-text"><p><em>This question pertains to ADO.NET Entity Framework version 4. I recall that we could have simple hand-written POCO's in ADO.NET Entity Framework version 2. I assume that things have remained the same. I want to still confirm because I see that the template generator for POCO's generates an additional fix up code.</em></p><p>I want to hand-write my POCO's as simple classes with virtual properties so that the entity framework can generate proxies. I will enable proxy creation (which is on by default) so I can have change tracking and lazy loading.</p><p>My question is: can I have them?</p><p>More specifically, I noticed that the POCO template generator generates classes with a <code>FixupCollection&lt;T&gt;</code>. Is that necessary to have? If I make the navigational properties in my simple hand-written POCO a virtual <code>IEnumerable&lt;T&gt;</code>, will that suffice without any <code>FixupCollection&lt;T&gt;</code> stuff?</p><p>As an alternative, I could use the POCO template generator but I do not wish to, because my model is quite large and complicated. I will need to keep making changes to the model and will need to keep editing the model class definitions. If I use the POCO template generator, every time I need to regenerate the model for some reason, it will overwrite all my custom changes.</p><p>So, is it possible to just have POCO's in the real spirit of their name?</p></div></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/Can-I-have-simple-POCO/fd2b10c13f1d45ffb4a0a12900b2ba0e#fd2b10c13f1d45ffb4a0a12900b2ba0e</link>
		<pubDate>Sun, 16 Dec 2012 10:50:43 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/Can-I-have-simple-POCO/fd2b10c13f1d45ffb4a0a12900b2ba0e#fd2b10c13f1d45ffb4a0a12900b2ba0e</guid>
		<dc:creator>Sathyaish Chakravarthy</dc:creator>
		<slash:comments>2</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Sathyaish Chakravarthy/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Can I have simple POCO without the FixupCollection stuff?</title>
		<description><![CDATA[<p>In any code-generation scenario, you're supposed to use partial classes so you don't have to worry about getting your custom changes overwritten.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/Can-I-have-simple-POCO/ea78082c1287444887c1a12900ce2b17#ea78082c1287444887c1a12900ce2b17</link>
		<pubDate>Sun, 16 Dec 2012 12:30:38 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/Can-I-have-simple-POCO/ea78082c1287444887c1a12900ce2b17#ea78082c1287444887c1a12900ce2b17</guid>
		<dc:creator>cbae</dc:creator>
		<slash:comments>2</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/cbae/Discussions/RSS</wfw:commentRss>
	</item>
</channel>
</rss>