<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Entity framework 4 &#8211; Part 2 &#8211; Relationships between non-public members</title>
	<atom:link href="http://daniel.wertheim.se/2009/11/10/entity-framework-4-relationships-between-non-public-members/feed/" rel="self" type="application/rss+xml" />
	<link>http://daniel.wertheim.se/2009/11/10/entity-framework-4-relationships-between-non-public-members/</link>
	<description>Love what you do - Continue to do it - Be eager to learn more about it.</description>
	<lastBuildDate>Tue, 24 Jan 2012 07:50:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Daniel Wertheim</title>
		<link>http://daniel.wertheim.se/2009/11/10/entity-framework-4-relationships-between-non-public-members/#comment-113</link>
		<dc:creator><![CDATA[Daniel Wertheim]]></dc:creator>
		<pubDate>Fri, 19 Feb 2010 07:58:42 +0000</pubDate>
		<guid isPermaLink="false">http://danielwertheim.wordpress.com/?p=76#comment-113</guid>
		<description><![CDATA[Hi!

Haven&#039;t been able to look at this. Will see if I get some time over this weekend.


//Daniel]]></description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>Haven&#8217;t been able to look at this. Will see if I get some time over this weekend.</p>
<p>//Daniel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jeroen</title>
		<link>http://daniel.wertheim.se/2009/11/10/entity-framework-4-relationships-between-non-public-members/#comment-100</link>
		<dc:creator><![CDATA[jeroen]]></dc:creator>
		<pubDate>Tue, 16 Feb 2010 23:45:06 +0000</pubDate>
		<guid isPermaLink="false">http://danielwertheim.wordpress.com/?p=76#comment-100</guid>
		<description><![CDATA[Hi,

Very nice article. 
I&#039;m fiddling around too and one thing i can&#039;t get to work is when i define a navigation property in the abstract class.

I want all my derived classes to have a certain assocation with another class. 

So in fact i want to inherit an assocation/relationship.

I get the same error as Arne (previous reply).

here&#039;s my problem explained: http://stackoverflow.com/questions/2270789/ef-4-0-code-only-assocation-from-abstract-to-derived]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Very nice article.<br />
I&#8217;m fiddling around too and one thing i can&#8217;t get to work is when i define a navigation property in the abstract class.</p>
<p>I want all my derived classes to have a certain assocation with another class. </p>
<p>So in fact i want to inherit an assocation/relationship.</p>
<p>I get the same error as Arne (previous reply).</p>
<p>here&#8217;s my problem explained: <a href="http://stackoverflow.com/questions/2270789/ef-4-0-code-only-assocation-from-abstract-to-derived" rel="nofollow">http://stackoverflow.com/questions/2270789/ef-4-0-code-only-assocation-from-abstract-to-derived</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Wertheim</title>
		<link>http://daniel.wertheim.se/2009/11/10/entity-framework-4-relationships-between-non-public-members/#comment-15</link>
		<dc:creator><![CDATA[Daniel Wertheim]]></dc:creator>
		<pubDate>Sat, 21 Nov 2009 19:25:37 +0000</pubDate>
		<guid isPermaLink="false">http://danielwertheim.wordpress.com/?p=76#comment-15</guid>
		<description><![CDATA[Hi!

I bumbed into this error but that was when I only mapped the property as an identity and didn&#039;t specify HasKey for the property.

I repeat this mapping in every EntityConfiguration (one for each entity being stored).

//Daniel]]></description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>I bumbed into this error but that was when I only mapped the property as an identity and didn&#8217;t specify HasKey for the property.</p>
<p>I repeat this mapping in every EntityConfiguration (one for each entity being stored).</p>
<p>//Daniel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arne</title>
		<link>http://daniel.wertheim.se/2009/11/10/entity-framework-4-relationships-between-non-public-members/#comment-14</link>
		<dc:creator><![CDATA[Arne]]></dc:creator>
		<pubDate>Sat, 21 Nov 2009 18:55:15 +0000</pubDate>
		<guid isPermaLink="false">http://danielwertheim.wordpress.com/?p=76#comment-14</guid>
		<description><![CDATA[Hi,

Thank you for this info. But I&#039;ve ran into a problem where you apparently haven&#039;t.

I also have an abstract class with a property ID.
However, my classes that inherit this abstract class can&#039;t use HasKey(u =&gt; u.ID);

I get the following error &quot;A key registered for the derived type &#039;...User&#039;. Keys must be registered for the root type &#039;...Entity&#039;&quot;

Have you encountered this and found a way around it?

Thanks in advance,
Arne]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thank you for this info. But I&#8217;ve ran into a problem where you apparently haven&#8217;t.</p>
<p>I also have an abstract class with a property ID.<br />
However, my classes that inherit this abstract class can&#8217;t use HasKey(u =&gt; u.ID);</p>
<p>I get the following error &#8220;A key registered for the derived type &#8216;&#8230;User&#8217;. Keys must be registered for the root type &#8216;&#8230;Entity&#8217;&#8221;</p>
<p>Have you encountered this and found a way around it?</p>
<p>Thanks in advance,<br />
Arne</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Entity framework 4 &#8211; CTP 2 &#8211; Clean code with POCO entities &#171; Daniel Wertheim</title>
		<link>http://daniel.wertheim.se/2009/11/10/entity-framework-4-relationships-between-non-public-members/#comment-8</link>
		<dc:creator><![CDATA[Entity framework 4 &#8211; CTP 2 &#8211; Clean code with POCO entities &#171; Daniel Wertheim]]></dc:creator>
		<pubDate>Wed, 11 Nov 2009 18:49:28 +0000</pubDate>
		<guid isPermaLink="false">http://danielwertheim.wordpress.com/?p=76#comment-8</guid>
		<description><![CDATA[[...]          &#171; NHibernate &#8211; Repository&#160;pattern Entity framework 4 &#8211; Part 2 &#8211; Relationships between non-public&#160;members [...]]]></description>
		<content:encoded><![CDATA[<p>[...]          &laquo; NHibernate &#8211; Repository&nbsp;pattern Entity framework 4 &#8211; Part 2 &#8211; Relationships between non-public&nbsp;members [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

