<?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: EF 4.0 N-Tier Support: Take 2</title>
	<atom:link href="http://blog.tonysneed.com/2009/11/12/ef-4-0-n-tier-support-take-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.tonysneed.com/2009/11/12/ef-4-0-n-tier-support-take-2/</link>
	<description>A glimpse into the lives of Tony &#38; Zuzana Sneed</description>
	<lastBuildDate>Sat, 24 Jul 2010 14:02:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Tony and Zuzana&#8217;s World &#187; Trackable DTO&#8217;s: Taking N-Tier a Step Further with EF4</title>
		<link>http://blog.tonysneed.com/2009/11/12/ef-4-0-n-tier-support-take-2/#comment-170</link>
		<dc:creator>Tony and Zuzana&#8217;s World &#187; Trackable DTO&#8217;s: Taking N-Tier a Step Further with EF4</dc:creator>
		<pubDate>Fri, 19 Feb 2010 23:13:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tonysneed.com/2009/11/12/ef-4-0-n-tier-support-take-2/#comment-170</guid>
		<description>[...] a blog post on Self-Tracking Entities in EF4, in which he questioned the service-orientation of Self-Tracking Entities in EF4.&#160; While STE’s are placed in an assembly that does not reference the Entity Framework, [...]</description>
		<content:encoded><![CDATA[<p>[...] a blog post on Self-Tracking Entities in EF4, in which he questioned the service-orientation of Self-Tracking Entities in EF4.&#160; While STE’s are placed in an assembly that does not reference the Entity Framework, [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ira</title>
		<link>http://blog.tonysneed.com/2009/11/12/ef-4-0-n-tier-support-take-2/#comment-169</link>
		<dc:creator>Ira</dc:creator>
		<pubDate>Sun, 03 Jan 2010 14:10:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tonysneed.com/2009/11/12/ef-4-0-n-tier-support-take-2/#comment-169</guid>
		<description>You make an overwhelming case, thus I feel I&#039;ve no choice, but to download beta 2 and have a look at EF 4.0 with the new CTP.

My fear, like any sensible person, is in not using a beta, and having to waste time in tracing hard 2 find bugs, or things start not working, so it&#039;s &quot;better the devil you know&quot; in .NET 3.5.

Thanks you again for the advice, it is very much appreciated.

Regards,

Ira</description>
		<content:encoded><![CDATA[<p>You make an overwhelming case, thus I feel I&#8217;ve no choice, but to download beta 2 and have a look at EF 4.0 with the new CTP.</p>
<p>My fear, like any sensible person, is in not using a beta, and having to waste time in tracing hard 2 find bugs, or things start not working, so it&#8217;s &#8220;better the devil you know&#8221; in .NET 3.5.</p>
<p>Thanks you again for the advice, it is very much appreciated.</p>
<p>Regards,</p>
<p>Ira</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony</title>
		<link>http://blog.tonysneed.com/2009/11/12/ef-4-0-n-tier-support-take-2/#comment-168</link>
		<dc:creator>Tony</dc:creator>
		<pubDate>Sat, 02 Jan 2010 21:09:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tonysneed.com/2009/11/12/ef-4-0-n-tier-support-take-2/#comment-168</guid>
		<description>Hi Ira,

I&#039;m afraid you&#039;re mistaken on the EF4 timeline. RTM for EF4 is synchronized with .NET 4.0 and VS 2010.  Although the release date had been Mar 22, 2010, it has been delayed &quot;a few weeks&quot; according to the announcement.  Nevertheless, they&#039;re releasing a RC that should be almost identical to RTM and includes a go-live license.  The only major feature that won&#039;t make it into RTM is Code-Only, which will come later.

In terms of change-tracking, STE&#039;s have change-tracking implemented as part of the code-gen produced by the T4 template, which is fully customizable.  Using that will be the most straightforward, although you could opt for DTO&#039;s, such as what I demoed in my article.  See Danny Simmon&#039;s recent MSDN magazine article on n-tier EF4 for more info on the DTO approach vs STE&#039;s.

In terms of collection serialization, using STE&#039;s would alleviate you from that concern as well, and you wouldn&#039;t have to hack the XML, because the client is referencing the entities assembly instead of having the VS service-reference generate them (which is what I did in the article).

I recommend again that you check out the STE walk-through I did, as well as that posted by the EF team on the ADO.NET team blog.  STE&#039;s represent I think a positive evolution of ideas I presented in my article, so they&#039;re worth checking out. :-)

Cheers,
Tony</description>
		<content:encoded><![CDATA[<p>Hi Ira,</p>
<p>I&#8217;m afraid you&#8217;re mistaken on the EF4 timeline. RTM for EF4 is synchronized with .NET 4.0 and VS 2010.  Although the release date had been Mar 22, 2010, it has been delayed &#8220;a few weeks&#8221; according to the announcement.  Nevertheless, they&#8217;re releasing a RC that should be almost identical to RTM and includes a go-live license.  The only major feature that won&#8217;t make it into RTM is Code-Only, which will come later.</p>
<p>In terms of change-tracking, STE&#8217;s have change-tracking implemented as part of the code-gen produced by the T4 template, which is fully customizable.  Using that will be the most straightforward, although you could opt for DTO&#8217;s, such as what I demoed in my article.  See Danny Simmon&#8217;s recent MSDN magazine article on n-tier EF4 for more info on the DTO approach vs STE&#8217;s.</p>
<p>In terms of collection serialization, using STE&#8217;s would alleviate you from that concern as well, and you wouldn&#8217;t have to hack the XML, because the client is referencing the entities assembly instead of having the VS service-reference generate them (which is what I did in the article).</p>
<p>I recommend again that you check out the STE walk-through I did, as well as that posted by the EF team on the ADO.NET team blog.  STE&#8217;s represent I think a positive evolution of ideas I presented in my article, so they&#8217;re worth checking out. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Cheers,<br />
Tony</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ira</title>
		<link>http://blog.tonysneed.com/2009/11/12/ef-4-0-n-tier-support-take-2/#comment-167</link>
		<dc:creator>Ira</dc:creator>
		<pubDate>Sat, 02 Jan 2010 17:55:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tonysneed.com/2009/11/12/ef-4-0-n-tier-support-take-2/#comment-167</guid>
		<description>Happy new year to you Tony, and thanks for taking the time out to respond.

@Does this answer your question?

I would have to say, yes and no. Though I know Visual Studio 2010 is beta 2, with a release candidate coming out next month, the fact that EF 4.0 is still CTP 2 says to me that it will be 6 months or maybe VS 2010 SP1 before it is released.

I like the way the change tracker works in the MSDN sample, and it should be relatively straightforward to upgrade to EF 4.0 once that is beta or RC.

I have also had issues with WCF especially hacking the XML to allow for the change tracking if my project has modules in different .dll&#039;s. I have moved everything into my main application for the moment, and hope the WCF team have allowed for flexible UDT collections.

Were it to be that EF is nearly done and released soon, then I&#039;d  probably move to Dev 10.

Regards,
Ira</description>
		<content:encoded><![CDATA[<p>Happy new year to you Tony, and thanks for taking the time out to respond.</p>
<p>@Does this answer your question?</p>
<p>I would have to say, yes and no. Though I know Visual Studio 2010 is beta 2, with a release candidate coming out next month, the fact that EF 4.0 is still CTP 2 says to me that it will be 6 months or maybe VS 2010 SP1 before it is released.</p>
<p>I like the way the change tracker works in the MSDN sample, and it should be relatively straightforward to upgrade to EF 4.0 once that is beta or RC.</p>
<p>I have also had issues with WCF especially hacking the XML to allow for the change tracking if my project has modules in different .dll&#8217;s. I have moved everything into my main application for the moment, and hope the WCF team have allowed for flexible UDT collections.</p>
<p>Were it to be that EF is nearly done and released soon, then I&#8217;d  probably move to Dev 10.</p>
<p>Regards,<br />
Ira</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony</title>
		<link>http://blog.tonysneed.com/2009/11/12/ef-4-0-n-tier-support-take-2/#comment-166</link>
		<dc:creator>Tony</dc:creator>
		<pubDate>Fri, 01 Jan 2010 14:45:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tonysneed.com/2009/11/12/ef-4-0-n-tier-support-take-2/#comment-166</guid>
		<description>Hello Ira and happy new year!

The answer to your question really depends on the type of application you&#039;re developing and how &quot;strategic&quot; you want to be.  I&#039;m actually quite a big fan of LINQ to SQL, so if it&#039;s not a critical line-of-business app and you&#039;re sure of always having SQL Server on the back end, then L2S is a good choice.

L2S, however, although not completely dead, it&#039;s definitely on the way out.  If your application is going to be around for a while, the more strategic approach is to bite the bullet and go for Entity Framework 4.0.  This version is definitely ready for prime-time and CTP 2 has everything there you need (except for an updated POCO template, but you&#039;re OK if using STE&#039;s). Of course, as you know from my article, you should architect your app with a Data Access Layer and use Self-Tracking Entities for your POCO&#039;s so that the persistence technology (L2S, EF or whatever) is decoupled from the rest of the app.

Does this answer your question?  I have a walk-though for STEs, which you can find here: http://blog.tonysneed.com/2009/11/12/ef-4-0-n-tier-support-take-2.

Cheers,
Tony</description>
		<content:encoded><![CDATA[<p>Hello Ira and happy new year!</p>
<p>The answer to your question really depends on the type of application you&#8217;re developing and how &#8220;strategic&#8221; you want to be.  I&#8217;m actually quite a big fan of LINQ to SQL, so if it&#8217;s not a critical line-of-business app and you&#8217;re sure of always having SQL Server on the back end, then L2S is a good choice.</p>
<p>L2S, however, although not completely dead, it&#8217;s definitely on the way out.  If your application is going to be around for a while, the more strategic approach is to bite the bullet and go for Entity Framework 4.0.  This version is definitely ready for prime-time and CTP 2 has everything there you need (except for an updated POCO template, but you&#8217;re OK if using STE&#8217;s). Of course, as you know from my article, you should architect your app with a Data Access Layer and use Self-Tracking Entities for your POCO&#8217;s so that the persistence technology (L2S, EF or whatever) is decoupled from the rest of the app.</p>
<p>Does this answer your question?  I have a walk-though for STEs, which you can find here: <a href="http://blog.tonysneed.com/2009/11/12/ef-4-0-n-tier-support-take-2" rel="nofollow">http://blog.tonysneed.com/2009/11/12/ef-4-0-n-tier-support-take-2</a>.</p>
<p>Cheers,<br />
Tony</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ira</title>
		<link>http://blog.tonysneed.com/2009/11/12/ef-4-0-n-tier-support-take-2/#comment-165</link>
		<dc:creator>Ira</dc:creator>
		<pubDate>Fri, 01 Jan 2010 13:41:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tonysneed.com/2009/11/12/ef-4-0-n-tier-support-take-2/#comment-165</guid>
		<description>Hello Tony,

I am corrently working through your year old article on MSDN and have choosed Linq2SQL. My application goes live in 2-3 months so would you recomment I take the plunge and develop live with the EF CTP?</description>
		<content:encoded><![CDATA[<p>Hello Tony,</p>
<p>I am corrently working through your year old article on MSDN and have choosed Linq2SQL. My application goes live in 2-3 months so would you recomment I take the plunge and develop live with the EF CTP?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony</title>
		<link>http://blog.tonysneed.com/2009/11/12/ef-4-0-n-tier-support-take-2/#comment-164</link>
		<dc:creator>Tony</dc:creator>
		<pubDate>Wed, 25 Nov 2009 21:19:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tonysneed.com/2009/11/12/ef-4-0-n-tier-support-take-2/#comment-164</guid>
		<description>Thanks, I&#039;ve added the buttet point.

Tony</description>
		<content:encoded><![CDATA[<p>Thanks, I&#8217;ve added the buttet point.</p>
<p>Tony</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Howdeedotnet2010</title>
		<link>http://blog.tonysneed.com/2009/11/12/ef-4-0-n-tier-support-take-2/#comment-163</link>
		<dc:creator>Howdeedotnet2010</dc:creator>
		<pubDate>Wed, 25 Nov 2009 18:24:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tonysneed.com/2009/11/12/ef-4-0-n-tier-support-take-2/#comment-163</guid>
		<description>Your bullet 4 should include a step at the end to include Project reference for NorthwindModel in NorthwindData project.
Otherwise you will get build error on NorthwindModel namespace not found error.</description>
		<content:encoded><![CDATA[<p>Your bullet 4 should include a step at the end to include Project reference for NorthwindModel in NorthwindData project.<br />
Otherwise you will get build error on NorthwindModel namespace not found error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: michel liesmons</title>
		<link>http://blog.tonysneed.com/2009/11/12/ef-4-0-n-tier-support-take-2/#comment-162</link>
		<dc:creator>michel liesmons</dc:creator>
		<pubDate>Mon, 23 Nov 2009 14:19:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tonysneed.com/2009/11/12/ef-4-0-n-tier-support-take-2/#comment-162</guid>
		<description>Hi Tony,

Without doing this your solution won&#039;t even compile.

My problem is run-time, but I found the reason, please see:

http://blogs.msdn.com/adonet/archive/2009/11/04/ado-net-entity-framework-community-technology-preview-released.aspx?CommentPosted=true#commentmessage

kr,
Michel.</description>
		<content:encoded><![CDATA[<p>Hi Tony,</p>
<p>Without doing this your solution won&#8217;t even compile.</p>
<p>My problem is run-time, but I found the reason, please see:</p>
<p><a href="http://blogs.msdn.com/adonet/archive/2009/11/04/ado-net-entity-framework-community-technology-preview-released.aspx?CommentPosted=true#commentmessage" rel="nofollow">http://blogs.msdn.com/adonet/archive/2009/11/04/ado-net-entity-framework-community-technology-preview-released.aspx?CommentPosted=true#commentmessage</a></p>
<p>kr,<br />
Michel.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony</title>
		<link>http://blog.tonysneed.com/2009/11/12/ef-4-0-n-tier-support-take-2/#comment-161</link>
		<dc:creator>Tony</dc:creator>
		<pubDate>Sun, 22 Nov 2009 16:10:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tonysneed.com/2009/11/12/ef-4-0-n-tier-support-take-2/#comment-161</guid>
		<description>Hello Michael,

You need to change the template to point to where the edmx file is located.  For example: To reference it from another project, open Northwind.Types.tt and modify inputFile initialization as follows: string inputFile = @&quot;..\NorthwindData\Northwind.edmx&quot;;

Please let me know if this answers your question.  Cheers,

Tony</description>
		<content:encoded><![CDATA[<p>Hello Michael,</p>
<p>You need to change the template to point to where the edmx file is located.  For example: To reference it from another project, open Northwind.Types.tt and modify inputFile initialization as follows: string inputFile = @&#8221;..\NorthwindData\Northwind.edmx&#8221;;</p>
<p>Please let me know if this answers your question.  Cheers,</p>
<p>Tony</p>
]]></content:encoded>
	</item>
</channel>
</rss>
