<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Sneak Preview: N-Tier development with Entity Framework 4.0</title><link>http://blogs.msdn.com/adonet/archive/2009/05/14/sneak-preview-n-tier-development-with-entity-framework-4-0.aspx</link><description>Building applications that work across tiers is a core part of many application architectures. In .NET Framework 3.5 SP1 we provided basic functionality that enabled developers to serialize and de-serialize entities. However, the experience in the first</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Sneak Preview: N-Tier development with Entity Framework 4.0 | Microsoft Share Point</title><link>http://blogs.msdn.com/adonet/archive/2009/05/14/sneak-preview-n-tier-development-with-entity-framework-4-0.aspx#9616876</link><pubDate>Thu, 14 May 2009 22:11:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9616876</guid><dc:creator>Sneak Preview: N-Tier development with Entity Framework 4.0 | Microsoft Share Point</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://microsoft-sharepoint.simplynetdev.com/sneak-preview-n-tier-development-with-entity-framework-40/"&gt;http://microsoft-sharepoint.simplynetdev.com/sneak-preview-n-tier-development-with-entity-framework-40/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>Sneak Preview: N-Tier development with Entity Framework 4.0 - ADO.NET Team Blog</title><link>http://blogs.msdn.com/adonet/archive/2009/05/14/sneak-preview-n-tier-development-with-entity-framework-4-0.aspx#9617169</link><pubDate>Fri, 15 May 2009 00:49:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9617169</guid><dc:creator>DotNetShoutout</dc:creator><description>&lt;p&gt;Thank you for submitting this cool story - Trackback from DotNetShoutout&lt;/p&gt;
</description></item><item><title>re: Sneak Preview: N-Tier development with Entity Framework 4.0</title><link>http://blogs.msdn.com/adonet/archive/2009/05/14/sneak-preview-n-tier-development-with-entity-framework-4-0.aspx#9617533</link><pubDate>Fri, 15 May 2009 04:54:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9617533</guid><dc:creator>Peter Goodman</dc:creator><description>&lt;p&gt;Not sure if this is the right place to ask.&lt;/p&gt;
&lt;p&gt;Will we have access to the changeset. It would be nice to be able to send just the changes over the wire. Also it would be nice to be able to construct a changeset from a dto changeset.&lt;/p&gt;
</description></item><item><title>ADO.NET team blog : Sneak Preview: N-Tier development with Entity Framework 4.0</title><link>http://blogs.msdn.com/adonet/archive/2009/05/14/sneak-preview-n-tier-development-with-entity-framework-4-0.aspx#9617949</link><pubDate>Fri, 15 May 2009 10:06:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9617949</guid><dc:creator>progg.ru</dc:creator><description>&lt;p&gt;Thank you for submitting this cool story - Trackback from progg.ru&lt;/p&gt;
</description></item><item><title>re: Sneak Preview: N-Tier development with Entity Framework 4.0</title><link>http://blogs.msdn.com/adonet/archive/2009/05/14/sneak-preview-n-tier-development-with-entity-framework-4-0.aspx#9618167</link><pubDate>Fri, 15 May 2009 12:27:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9618167</guid><dc:creator>Courtois</dc:creator><description>&lt;p&gt;is this works with POCO object ?&lt;/p&gt;
</description></item><item><title>re: Sneak Preview: N-Tier development with Entity Framework 4.0</title><link>http://blogs.msdn.com/adonet/archive/2009/05/14/sneak-preview-n-tier-development-with-entity-framework-4-0.aspx#9618303</link><pubDate>Fri, 15 May 2009 13:48:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9618303</guid><dc:creator>Jose</dc:creator><description>&lt;p&gt;&amp;quot;is this works with POCO object ?&amp;quot;&lt;/p&gt;
&lt;p&gt;=&amp;gt; I have the same question&lt;/p&gt;
</description></item><item><title>re: Sneak Preview: N-Tier development with Entity Framework 4.0</title><link>http://blogs.msdn.com/adonet/archive/2009/05/14/sneak-preview-n-tier-development-with-entity-framework-4-0.aspx#9618382</link><pubDate>Fri, 15 May 2009 14:50:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9618382</guid><dc:creator>Craig Stuntz</dc:creator><description>&lt;p&gt;These self-tracking entities thing looks good for what it is. Regarding the broader topic of n-tier development with Entity Framework, one of the concerns I have about the n-tier story coming out of Microsoft these days is that there are so many different solutions. For example, RIA services, Astoria/data services, WCF, etc. As you develop your n-tier story, it would be helpful if you could clarify where it fits into these other projects.&lt;/p&gt;
</description></item><item><title>re: Sneak Preview: N-Tier development with Entity Framework 4.0</title><link>http://blogs.msdn.com/adonet/archive/2009/05/14/sneak-preview-n-tier-development-with-entity-framework-4-0.aspx#9619484</link><pubDate>Fri, 15 May 2009 23:10:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9619484</guid><dc:creator>Jeff</dc:creator><description>&lt;p&gt;@ Courtois, Jose&lt;/p&gt;
&lt;p&gt;Yes, the self-tracking entities will be POCOs in that they do not have any layering or metadata dependencies on the Entity Framework (i.e. no required EF interface, no required EF metadata, no required EF baseclasses). This is nice because you can use them with Silverlight.&lt;/p&gt;
&lt;p&gt;The self-tracking entities will have fields in them that store the changes. You can use the T4 template we'll provide to generate these POCO entities for you and it will include all of the code needed to fill in these fields...but you never see this code when you use your entity as it's all private in the entity.&lt;/p&gt;
&lt;p&gt;Jeff&lt;/p&gt;
</description></item><item><title>re: Sneak Preview: N-Tier development with Entity Framework 4.0</title><link>http://blogs.msdn.com/adonet/archive/2009/05/14/sneak-preview-n-tier-development-with-entity-framework-4-0.aspx#9619493</link><pubDate>Fri, 15 May 2009 23:13:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9619493</guid><dc:creator>Jeff</dc:creator><description>&lt;p&gt;@Peter&lt;/p&gt;
&lt;p&gt;Yes, the changeset will be public in that there is a general way to declare the state of each entity and the relationship changes. The extension method &amp;quot;ApplyChanges&amp;quot; is done in such a way that you can feed in changes that come from other sources, like Java or your own code that creates this changeset. With our T4 self tracking entity template, the changeset will be part of the DataContract of each entity, but there is no reason why it needs to be there if you have some other way of using this changeset.&lt;/p&gt;
&lt;p&gt;Jeff&lt;/p&gt;
</description></item><item><title>re: Sneak Preview: N-Tier development with Entity Framework 4.0</title><link>http://blogs.msdn.com/adonet/archive/2009/05/14/sneak-preview-n-tier-development-with-entity-framework-4-0.aspx#9631287</link><pubDate>Wed, 20 May 2009 06:59:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9631287</guid><dc:creator>Peter Goodman</dc:creator><description>&lt;p&gt;Can you tell us where in Beta 1 these &amp;quot;low level APIs&amp;quot;are? I am assuming there is some support in the core .Net Framework assemblies (not System.Data.Entity) that can represent change tracking data.&lt;/p&gt;
</description></item><item><title>re: Sneak Preview: N-Tier development with Entity Framework 4.0</title><link>http://blogs.msdn.com/adonet/archive/2009/05/14/sneak-preview-n-tier-development-with-entity-framework-4-0.aspx#9633393</link><pubDate>Thu, 21 May 2009 09:42:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9633393</guid><dc:creator>Jeff</dc:creator><description>&lt;p&gt;@Peter&lt;/p&gt;
&lt;p&gt;The low level APIs that are described are on the ObjectContext class (ApplyOriginalValues), and on the ObjectStateManager (ChangeObjectState, ChangeRelationshipState).&lt;/p&gt;
&lt;p&gt;Currently there is nothing outside of System.Data.Entity in the .NET Framework assemblies that represents change tracking data. Most of this information can be stored in standard collections such as List&amp;lt;T&amp;gt;. There is no &amp;quot;State&amp;quot; enum in mscorlib or System.Core, if that is what you are asking. This area is likely going to see some evolution (from EF and others), and hopefully more pieces will make their way into the base framework.&lt;/p&gt;
&lt;p&gt;Jeff&lt;/p&gt;
</description></item><item><title>re: Sneak Preview: N-Tier development with Entity Framework 4.0</title><link>http://blogs.msdn.com/adonet/archive/2009/05/14/sneak-preview-n-tier-development-with-entity-framework-4-0.aspx#9724689</link><pubDate>Wed, 10 Jun 2009 20:49:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9724689</guid><dc:creator>Ido Flatow</dc:creator><description>&lt;p&gt;Please note a problem that exists with EF v1 when applying changes to an entity that has a scalar property of binary type - EF always sets binary properties to modified state, even if the content of the binary arrays are the same between the original and updated entity. &lt;/p&gt;
&lt;p&gt;In our project we solved this change tracking by saving an additional crc for the binary property and re-calculating &amp;amp; comparing crc for the updated property.&lt;/p&gt;
&lt;p&gt;We choose this option instead of saving original value because binary data is large and passing a message that holds both original and updated binary data is too expensive.&lt;/p&gt;
</description></item><item><title>Entity Framework 4.0 Beta新特性</title><link>http://blogs.msdn.com/adonet/archive/2009/05/14/sneak-preview-n-tier-development-with-entity-framework-4-0.aspx#9725860</link><pubDate>Thu, 11 Jun 2009 08:32:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9725860</guid><dc:creator>VS2010学习</dc:creator><description>&lt;p&gt;&amp;amp;#160; Entity Framework 4.0 Beta 1（又称EF V2）与 .NET 4.0 Beta 1 一起发布，包含了一系列的重要改进：自定义代码生成、延迟加载、N层支持、POCO支持&lt;/p&gt;
</description></item><item><title>re: Sneak Preview: N-Tier development with Entity Framework 4.0</title><link>http://blogs.msdn.com/adonet/archive/2009/05/14/sneak-preview-n-tier-development-with-entity-framework-4-0.aspx#9766132</link><pubDate>Wed, 17 Jun 2009 07:49:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9766132</guid><dc:creator>Ranes</dc:creator><description>&lt;p&gt;Nice post, I am coming around to liking entity, I have been using it on MvcCms and once past the learning curve am becoming a real fan. &amp;nbsp;Keep up the great work!&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.ranessoftwareconsulting.com/articles/8/map-my-fragments--why-i-like-entity-finally"&gt;http://www.ranessoftwareconsulting.com/articles/8/map-my-fragments--why-i-like-entity-finally&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Sneak Preview: N-Tier development with Entity Framework 4.0</title><link>http://blogs.msdn.com/adonet/archive/2009/05/14/sneak-preview-n-tier-development-with-entity-framework-4-0.aspx#9840056</link><pubDate>Sun, 19 Jul 2009 17:41:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9840056</guid><dc:creator>radyo dinle</dc:creator><description>&lt;p&gt;is this works with POCO object ?&lt;/p&gt;
</description></item><item><title>re: Sneak Preview: N-Tier development with Entity Framework 4.0</title><link>http://blogs.msdn.com/adonet/archive/2009/05/14/sneak-preview-n-tier-development-with-entity-framework-4-0.aspx#9902783</link><pubDate>Sat, 03 Oct 2009 20:27:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9902783</guid><dc:creator>Nico</dc:creator><description>&lt;p&gt;Nice article. Not often seen such a good work.&lt;/p&gt;
</description></item><item><title>re: Sneak Preview: N-Tier development with Entity Framework 4.0</title><link>http://blogs.msdn.com/adonet/archive/2009/05/14/sneak-preview-n-tier-development-with-entity-framework-4-0.aspx#9928871</link><pubDate>Wed, 25 Nov 2009 23:54:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9928871</guid><dc:creator>Ariel</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I used the T4 template for creating self-tracking entities and tested with an example similar to the one you post here but when I made changes in the Client and post them back the changes are not saved in the DB because the State of the entity is kept as unchanged.&lt;/p&gt;
&lt;p&gt;I guess that I making something wrong here but WHAT?&lt;/p&gt;
&lt;p&gt;thanks,&lt;/p&gt;
&lt;p&gt;Ariel&lt;/p&gt;
</description></item></channel></rss>