<?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>Wed, 08 Feb 2012 16:30:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: aay</title>
		<link>http://blog.tonysneed.com/2009/11/12/ef-4-0-n-tier-support-take-2/#comment-712</link>
		<dc:creator><![CDATA[aay]]></dc:creator>
		<pubDate>Sun, 17 Apr 2011 20:34:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tonysneed.com/2009/11/12/ef-4-0-n-tier-support-take-2/#comment-712</guid>
		<description><![CDATA[I just down load sample and try to run it does not build it gave me error
Error	1	Compiling transformation: The type or namespace name &#039;TemplateFileManager&#039; could not be found (are you missing a using directive or an assembly reference?)	c:\test\Hello Self-Tracking\NorthwindData\Northwind.Context.tt	11	1	
Error	2	Compiling transformation: The name &#039;TemplateFileManager&#039; does not exist in the current context	c:\test\Hello Self-Tracking\NorthwindData\Northwind.Context.tt	11	35	
Error	3	A namespace cannot directly contain members such as fields or methods	C:\test\Hello Self-Tracking\NorthwindData\Northwind.Context.cs	1	1	NorthwindData

any thougjht]]></description>
		<content:encoded><![CDATA[<p>I just down load sample and try to run it does not build it gave me error<br />
Error	1	Compiling transformation: The type or namespace name &#8216;TemplateFileManager&#8217; could not be found (are you missing a using directive or an assembly reference?)	c:\test\Hello Self-Tracking\NorthwindData\Northwind.Context.tt	11	1<br />
Error	2	Compiling transformation: The name &#8216;TemplateFileManager&#8217; does not exist in the current context	c:\test\Hello Self-Tracking\NorthwindData\Northwind.Context.tt	11	35<br />
Error	3	A namespace cannot directly contain members such as fields or methods	C:\test\Hello Self-Tracking\NorthwindData\Northwind.Context.cs	1	1	NorthwindData</p>
<p>any thougjht</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris.Go</title>
		<link>http://blog.tonysneed.com/2009/11/12/ef-4-0-n-tier-support-take-2/#comment-284</link>
		<dc:creator><![CDATA[Chris.Go]]></dc:creator>
		<pubDate>Fri, 10 Sep 2010 14:40:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tonysneed.com/2009/11/12/ef-4-0-n-tier-support-take-2/#comment-284</guid>
		<description><![CDATA[Thanks for the information. Anyway you can do a detailed walk-through for the noobies such as myself with N-Tier and EF with a real-world presentation layer. Northwind DB would be fine. I&#039;m not sure how I could repay you but I really want to learn more about these technologies.

Side note: I have in the past just created my own data access layers and corresponding class/objects. I feel using all this .NET canned stuff paints you in a corner. I have never once had to create an application that was so cut and dry as to use data grids and repeaters... does using all this make custom applications difficult? I guess should I even bother if I am not in a position to build apps off the same company database all day long?]]></description>
		<content:encoded><![CDATA[<p>Thanks for the information. Anyway you can do a detailed walk-through for the noobies such as myself with N-Tier and EF with a real-world presentation layer. Northwind DB would be fine. I&#8217;m not sure how I could repay you but I really want to learn more about these technologies.</p>
<p>Side note: I have in the past just created my own data access layers and corresponding class/objects. I feel using all this .NET canned stuff paints you in a corner. I have never once had to create an application that was so cut and dry as to use data grids and repeaters&#8230; does using all this make custom applications difficult? I guess should I even bother if I am not in a position to build apps off the same company database all day long?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony Sneed</title>
		<link>http://blog.tonysneed.com/2009/11/12/ef-4-0-n-tier-support-take-2/#comment-283</link>
		<dc:creator><![CDATA[Tony Sneed]]></dc:creator>
		<pubDate>Thu, 09 Sep 2010 21:44:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tonysneed.com/2009/11/12/ef-4-0-n-tier-support-take-2/#comment-283</guid>
		<description><![CDATA[@Chris.Go: You seem to be referring to &quot;Self-Tracking Entities&quot;, which are generated by a T4 template that comes with VS 2010.  My presentation shows an alternative implementation, which I call &quot;Trackable DTOs&quot;.]]></description>
		<content:encoded><![CDATA[<p>@Chris.Go: You seem to be referring to &#8220;Self-Tracking Entities&#8221;, which are generated by a T4 template that comes with VS 2010.  My presentation shows an alternative implementation, which I call &#8220;Trackable DTOs&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris.Go</title>
		<link>http://blog.tonysneed.com/2009/11/12/ef-4-0-n-tier-support-take-2/#comment-282</link>
		<dc:creator><![CDATA[Chris.Go]]></dc:creator>
		<pubDate>Thu, 09 Sep 2010 18:47:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tonysneed.com/2009/11/12/ef-4-0-n-tier-support-take-2/#comment-282</guid>
		<description><![CDATA[There is no Northwind.Types.tt template when you say to move this file to NorthwindModel project. I am using .NET4.0 and VS2010 did something change?]]></description>
		<content:encoded><![CDATA[<p>There is no Northwind.Types.tt template when you say to move this file to NorthwindModel project. I am using .NET4.0 and VS2010 did something change?</p>
]]></content:encoded>
	</item>
	<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><![CDATA[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><![CDATA[[...] 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><![CDATA[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><![CDATA[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><![CDATA[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><![CDATA[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://s0.wp.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><![CDATA[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><![CDATA[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><![CDATA[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><![CDATA[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><![CDATA[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><![CDATA[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>
</channel>
</rss>

