<?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/"
		>
<channel>
	<title>Comments on: Ultimate EFv4 CTP4 Code First (full mapping) example (using Firebird)</title>
	<atom:link href="http://blog.cincura.net/231783-ultimate-efv4-ctp4-code-first-full-mapping-example-using-firebird/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.cincura.net/231783-ultimate-efv4-ctp4-code-first-full-mapping-example-using-firebird/</link>
	<description>Taking something that can&#039;t be done, and then doing it.</description>
	<lastBuildDate>Wed, 08 Feb 2012 15:02:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: cincura.net</title>
		<link>http://blog.cincura.net/231783-ultimate-efv4-ctp4-code-first-full-mapping-example-using-firebird/#comment-4238</link>
		<dc:creator>cincura.net</dc:creator>
		<pubDate>Wed, 27 Oct 2010 05:33:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cincura.net/?p=231783#comment-4238</guid>
		<description>There&#039;s no documentation, I&#039;m aware of, for the Code First right now. I think it&#039;ll be finished when RTM (or betas) will be ready. Now it&#039;s still under changes based on feedback. My approach was simple trial-error. :)

I&#039;m now playing with Entity Framework and Azure. Stay tuned, some posts are almost finished.</description>
		<content:encoded><![CDATA[<p>There&#8217;s no documentation, I&#8217;m aware of, for the Code First right now. I think it&#8217;ll be finished when RTM (or betas) will be ready. Now it&#8217;s still under changes based on feedback. My approach was simple trial-error. <img src='http://blog.cincura.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I&#8217;m now playing with Entity Framework and Azure. Stay tuned, some posts are almost finished.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miranon</title>
		<link>http://blog.cincura.net/231783-ultimate-efv4-ctp4-code-first-full-mapping-example-using-firebird/#comment-4236</link>
		<dc:creator>Miranon</dc:creator>
		<pubDate>Tue, 26 Oct 2010 19:24:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cincura.net/?p=231783#comment-4236</guid>
		<description>Great job.

Best example yet on peeling back the covers underneath DbContext.  

Curious how you learned all of the various methods that can be applied to objects for the EF metadata creation behind the scenes?  Is there a documentation resource you went to in order to learn these?  (They don&#039;t seem intuitive).

I also noticed you have a SqlConnection object you pass into DbContext upon instance creation, instead of allowing DbContext to create it by itself.  I think this approach lends itself to replacing the SqlConnection with a new class that can handle SQL Azure connection retry logic very easily as well, since EF doesn&#039;t handle this out of the box, and deploying any Code-First type approach on SQL Azure today will cause problems without that logic in place.

Have you experimented yet with using Code-First on SQL Azure and investigated what changes you&#039;d have to introduce to make your &quot;connection&quot; object more robust, while keeping your code elegant?

There are a few examples on the web (not very elegant), including an implementation of a SqlAzureConnection, but I haven&#039;t seen an implementation yet that uses it with Code-First.</description>
		<content:encoded><![CDATA[<p>Great job.</p>
<p>Best example yet on peeling back the covers underneath DbContext.  </p>
<p>Curious how you learned all of the various methods that can be applied to objects for the EF metadata creation behind the scenes?  Is there a documentation resource you went to in order to learn these?  (They don&#8217;t seem intuitive).</p>
<p>I also noticed you have a SqlConnection object you pass into DbContext upon instance creation, instead of allowing DbContext to create it by itself.  I think this approach lends itself to replacing the SqlConnection with a new class that can handle SQL Azure connection retry logic very easily as well, since EF doesn&#8217;t handle this out of the box, and deploying any Code-First type approach on SQL Azure today will cause problems without that logic in place.</p>
<p>Have you experimented yet with using Code-First on SQL Azure and investigated what changes you&#8217;d have to introduce to make your &#8220;connection&#8221; object more robust, while keeping your code elegant?</p>
<p>There are a few examples on the web (not very elegant), including an implementation of a SqlAzureConnection, but I haven&#8217;t seen an implementation yet that uses it with Code-First.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cincura.net</title>
		<link>http://blog.cincura.net/231783-ultimate-efv4-ctp4-code-first-full-mapping-example-using-firebird/#comment-4152</link>
		<dc:creator>cincura.net</dc:creator>
		<pubDate>Sat, 09 Oct 2010 11:57:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cincura.net/?p=231783#comment-4152</guid>
		<description>@Ludwig&gt; I did some investigation and it&#039;s not supported right now (neither Code Only nor in EDMX file). The complex type cannot contain navigation property.</description>
		<content:encoded><![CDATA[<p>@Ludwig&gt; I did some investigation and it&#8217;s not supported right now (neither Code Only nor in EDMX file). The complex type cannot contain navigation property.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cincura.net</title>
		<link>http://blog.cincura.net/231783-ultimate-efv4-ctp4-code-first-full-mapping-example-using-firebird/#comment-4147</link>
		<dc:creator>cincura.net</dc:creator>
		<pubDate>Wed, 06 Oct 2010 19:46:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cincura.net/?p=231783#comment-4147</guid>
		<description>I don&#039;t know it from top of my head. But I&#039;ll try it soon and blog about it. Stay tuned.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know it from top of my head. But I&#8217;ll try it soon and blog about it. Stay tuned.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ludwig</title>
		<link>http://blog.cincura.net/231783-ultimate-efv4-ctp4-code-first-full-mapping-example-using-firebird/#comment-4137</link>
		<dc:creator>Ludwig</dc:creator>
		<pubDate>Mon, 04 Oct 2010 20:00:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cincura.net/?p=231783#comment-4137</guid>
		<description>Hi, thanks for the overview! I have a question concerning complex mapping; like you showed in your example with &#039;Name&#039;. In my complex property I have a foreign key to another entity; but it seems I cannot succeed in mapping this. Example: Customer has property Address (which is complex type), Address has property City (which is another entity). Any idea on how to map this?</description>
		<content:encoded><![CDATA[<p>Hi, thanks for the overview! I have a question concerning complex mapping; like you showed in your example with &#8216;Name&#8217;. In my complex property I have a foreign key to another entity; but it seems I cannot succeed in mapping this. Example: Customer has property Address (which is complex type), Address has property City (which is another entity). Any idea on how to map this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cincura.net</title>
		<link>http://blog.cincura.net/231783-ultimate-efv4-ctp4-code-first-full-mapping-example-using-firebird/#comment-4134</link>
		<dc:creator>cincura.net</dc:creator>
		<pubDate>Fri, 01 Oct 2010 11:20:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cincura.net/?p=231783#comment-4134</guid>
		<description>@Gabriel

Sure. Firebird has no idea whether database exists, until you actually use it (but if this fails, it may be as well wrong username etc.). There&#039;s no master database.

FirebirdClient, as name suggests, is about Firebird. With InterBase you should use provider for InterBase.</description>
		<content:encoded><![CDATA[<p>@Gabriel</p>
<p>Sure. Firebird has no idea whether database exists, until you actually use it (but if this fails, it may be as well wrong username etc.). There&#8217;s no master database.</p>
<p>FirebirdClient, as name suggests, is about Firebird. With InterBase you should use provider for InterBase.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabriel</title>
		<link>http://blog.cincura.net/231783-ultimate-efv4-ctp4-code-first-full-mapping-example-using-firebird/#comment-4133</link>
		<dc:creator>Gabriel</dc:creator>
		<pubDate>Fri, 01 Oct 2010 11:12:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cincura.net/?p=231783#comment-4133</guid>
		<description>I&#039;ve tried this example with my VS2010 and Firebird 2.5, but I get exception System.Data.ProviderIncompatibleException at this.ObjectContextOptions.LazyLoadingEnabled = false; with Message &quot;This provider doesn&#039;t support DatabaseExists&quot;. Directly before comes System.PlatformNotSupportedException with Message &quot;given cryptography algorithm not supported on this platform&quot;. What have I forgotten? 
I&#039;ve also found that .NET provider 2.5.2 doesn&#039;t work with Interbase (Index exceeds the maximum). And there also bug (or in both Firebird and Interbase?) - the query &quot;select * from  where @p0 = @p1&quot; gives error -804 Invalid data type. The same query with &quot;@p0 = &#039;X&#039;&quot; is OK.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve tried this example with my VS2010 and Firebird 2.5, but I get exception System.Data.ProviderIncompatibleException at this.ObjectContextOptions.LazyLoadingEnabled = false; with Message &#8220;This provider doesn&#8217;t support DatabaseExists&#8221;. Directly before comes System.PlatformNotSupportedException with Message &#8220;given cryptography algorithm not supported on this platform&#8221;. What have I forgotten?<br />
I&#8217;ve also found that .NET provider 2.5.2 doesn&#8217;t work with Interbase (Index exceeds the maximum). And there also bug (or in both Firebird and Interbase?) &#8211; the query &#8220;select * from  where @p0 = @p1&#8243; gives error -804 Invalid data type. The same query with &#8220;@p0 = &#8216;X&#8217;&#8221; is OK.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cincura.net</title>
		<link>http://blog.cincura.net/231783-ultimate-efv4-ctp4-code-first-full-mapping-example-using-firebird/#comment-4047</link>
		<dc:creator>cincura.net</dc:creator>
		<pubDate>Thu, 19 Aug 2010 20:33:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cincura.net/?p=231783#comment-4047</guid>
		<description>@michael Interesting. That&#039;s definitely easier than creating dummy implementation. But at least I and readers see how the IDatabaseInitializer works. :)</description>
		<content:encoded><![CDATA[<p>@michael Interesting. That&#8217;s definitely easier than creating dummy implementation. But at least I and readers see how the IDatabaseInitializer works. <img src='http://blog.cincura.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: michael</title>
		<link>http://blog.cincura.net/231783-ultimate-efv4-ctp4-code-first-full-mapping-example-using-firebird/#comment-4046</link>
		<dc:creator>michael</dc:creator>
		<pubDate>Thu, 19 Aug 2010 19:49:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cincura.net/?p=231783#comment-4046</guid>
		<description>You don&#039;t need the DoNothingWithMyDatabase initializer. Instead you can just do:

Database.SetInitializer(null);</description>
		<content:encoded><![CDATA[<p>You don&#8217;t need the DoNothingWithMyDatabase initializer. Instead you can just do:</p>
<p>Database.SetInitializer(null);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cincura.net</title>
		<link>http://blog.cincura.net/231783-ultimate-efv4-ctp4-code-first-full-mapping-example-using-firebird/#comment-4005</link>
		<dc:creator>cincura.net</dc:creator>
		<pubDate>Thu, 05 Aug 2010 07:19:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cincura.net/?p=231783#comment-4005</guid>
		<description>Yes, you&#039;ll loose something. It&#039;s always about balancing. On the other hand you have clean objects not polluted with some specific attributes. I like to specify mapping and constraints in configuration, where, when DB changes, I can easily find all the stuff. But it&#039;s my personal preference.

And often the application has more layers so the annotations may not be available to UI or the UI needs more validation than that.</description>
		<content:encoded><![CDATA[<p>Yes, you&#8217;ll loose something. It&#8217;s always about balancing. On the other hand you have clean objects not polluted with some specific attributes. I like to specify mapping and constraints in configuration, where, when DB changes, I can easily find all the stuff. But it&#8217;s my personal preference.</p>
<p>And often the application has more layers so the annotations may not be available to UI or the UI needs more validation than that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyle Bailey</title>
		<link>http://blog.cincura.net/231783-ultimate-efv4-ctp4-code-first-full-mapping-example-using-firebird/#comment-4002</link>
		<dc:creator>Kyle Bailey</dc:creator>
		<pubDate>Thu, 05 Aug 2010 04:15:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cincura.net/?p=231783#comment-4002</guid>
		<description>When I look at things that ommit DataAnnotations I always think about how much you lose in terms of Validation on the client side. What do you think about that?</description>
		<content:encoded><![CDATA[<p>When I look at things that ommit DataAnnotations I always think about how much you lose in terms of Validation on the client side. What do you think about that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyle Bailey</title>
		<link>http://blog.cincura.net/231783-ultimate-efv4-ctp4-code-first-full-mapping-example-using-firebird/#comment-4001</link>
		<dc:creator>Kyle Bailey</dc:creator>
		<pubDate>Thu, 05 Aug 2010 04:13:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cincura.net/?p=231783#comment-4001</guid>
		<description>Great work! This is amazing</description>
		<content:encoded><![CDATA[<p>Great work! This is amazing</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Firebird News &#187; Ultimate EFv4 CTP4 Code First full mapping example using Firebird</title>
		<link>http://blog.cincura.net/231783-ultimate-efv4-ctp4-code-first-full-mapping-example-using-firebird/#comment-3890</link>
		<dc:creator>Firebird News &#187; Ultimate EFv4 CTP4 Code First full mapping example using Firebird</dc:creator>
		<pubDate>Tue, 27 Jul 2010 10:22:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cincura.net/?p=231783#comment-3890</guid>
		<description>[...] {x2} Činčura created an example with Entity Framework 4 CTP4 Let’s model some kind of simple library and try to use there couple [...]</description>
		<content:encoded><![CDATA[<p>[...] {x2} Činčura created an example with Entity Framework 4 CTP4 Let’s model some kind of simple library and try to use there couple [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tweets that mention Ultimate EFv4 CTP4 Code First (full mapping) example (using Firebird) « Jiří {x2} Činčura -- Topsy.com</title>
		<link>http://blog.cincura.net/231783-ultimate-efv4-ctp4-code-first-full-mapping-example-using-firebird/#comment-3885</link>
		<dc:creator>Tweets that mention Ultimate EFv4 CTP4 Code First (full mapping) example (using Firebird) « Jiří {x2} Činčura -- Topsy.com</dc:creator>
		<pubDate>Mon, 26 Jul 2010 19:55:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cincura.net/?p=231783#comment-3885</guid>
		<description>[...] This post was mentioned on Twitter by Jiri Cincura, Jiri Cincura. Jiri Cincura said: Blogged: Ultimate EFv4 CTP4 Code First (full mapping) example (using Firebird) http://goo.gl/fb/FQ1lj [...]</description>
		<content:encoded><![CDATA[<p>[...] This post was mentioned on Twitter by Jiri Cincura, Jiri Cincura. Jiri Cincura said: Blogged: Ultimate EFv4 CTP4 Code First (full mapping) example (using Firebird) <a href="http://goo.gl/fb/FQ1lj" rel="nofollow" target="_blank">http://goo.gl/fb/FQ1lj</a> [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

