<?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>Feature CTP Walkthrough: Self Tracking Entities for Entity Framework</title><link>http://blogs.msdn.com/b/adonet/archive/2009/06/22/feature-ctp-walkthrough-self-tracking-entities-for-entity-framework.aspx</link><description>The information in this post is out of date. 
 Visit msdn.com/data/ef for the latest information on current and past releases of EF. 
 
 
 Overview 
 The goal of the following walkthrough is to demonstrate a basic scenario for the use of Self Tracking</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Feature CTP Walkthrough: Self Tracking Entities for Entity Framework</title><link>http://blogs.msdn.com/b/adonet/archive/2009/06/22/feature-ctp-walkthrough-self-tracking-entities-for-entity-framework.aspx#9922071</link><pubDate>Fri, 13 Nov 2009 17:21:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9922071</guid><dc:creator>JC</dc:creator><description>&lt;p&gt;Hi &amp;nbsp; &lt;/p&gt;
&lt;p&gt; I'm trying the shelftracking entities and i have notice that when we call the method &amp;nbsp;entity.AcceptChanges() it doesn't propagate the AcceptChanges to the child entities and when we make changes to a child entity the parent entity isn't warned that something has changed, is this normal or is it bug.&lt;/p&gt;
&lt;p&gt;Many thanks&lt;/p&gt;
&lt;p&gt;JC&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9922071" width="1" height="1"&gt;</description></item><item><title>re: Feature CTP Walkthrough: Self Tracking Entities for Entity Framework</title><link>http://blogs.msdn.com/b/adonet/archive/2009/06/22/feature-ctp-walkthrough-self-tracking-entities-for-entity-framework.aspx#9921163</link><pubDate>Thu, 12 Nov 2009 04:14:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9921163</guid><dc:creator>Jonathan</dc:creator><description>&lt;p&gt;When will this walkthrough be adapted for CTP 2?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9921163" width="1" height="1"&gt;</description></item><item><title>re: Feature CTP Walkthrough: Self Tracking Entities for Entity Framework</title><link>http://blogs.msdn.com/b/adonet/archive/2009/06/22/feature-ctp-walkthrough-self-tracking-entities-for-entity-framework.aspx#9891345</link><pubDate>Fri, 04 Sep 2009 15:00:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9891345</guid><dc:creator>Biju Thomas</dc:creator><description>&lt;p&gt;Hi am getting error &lt;/p&gt;
&lt;p&gt;An item with the same key has already been added. &lt;/p&gt;
&lt;p&gt;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;/p&gt;
&lt;p&gt;Exception Details: System.ArgumentException: An item with the same key has already been added.&lt;/p&gt;
&lt;p&gt;Source Error: &lt;/p&gt;
&lt;p&gt;Line 41: 			using (TContext context = new TContext())&lt;/p&gt;
&lt;p&gt;Line 42: 			{				&lt;/p&gt;
&lt;p&gt;Line 43: 				context.ApplyChanges(this.EntitySet, entity, EntityChangeTrackerAdapter.GetSelfTrackingEntityInfo);&lt;/p&gt;
&lt;p&gt;Line 44: 	context.SaveChanges(SaveOptions.DetectChangesBeforeSave);&lt;/p&gt;
&lt;p&gt;Line 45: 			}&lt;/p&gt;
&lt;p&gt;This is because i have two navigation propeties whic are pointing to same table&lt;/p&gt;
&lt;p&gt;newRequirement.CreatedBy = new User();&lt;/p&gt;
&lt;p&gt;newRequirement.CreatedBy.UserId = 1;&lt;/p&gt;
&lt;p&gt;newRequirement.WorkflowUser = new User();&lt;/p&gt;
&lt;p&gt;newRequirement.WorkflowUser.UserId = 1;&lt;/p&gt;
&lt;p&gt;It will work wthout any issue if we comment WorkfolwUser lines&lt;/p&gt;
&lt;p&gt;How we can solve this issue....&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9891345" width="1" height="1"&gt;</description></item><item><title>re: Feature CTP Walkthrough: Self Tracking Entities for Entity Framework</title><link>http://blogs.msdn.com/b/adonet/archive/2009/06/22/feature-ctp-walkthrough-self-tracking-entities-for-entity-framework.aspx#9889328</link><pubDate>Mon, 31 Aug 2009 15:19:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9889328</guid><dc:creator>Biju Thomas</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I want to initialize the some navigation properties to new instance when a new instance of an entity created using new operator&lt;/p&gt;
&lt;p&gt;for eg.&lt;/p&gt;
&lt;p&gt;I have one entity called Project wth a navigation property ApprovedBy of type 'User'. What i required is When we create &amp;nbsp;Project p = new Project() it should also initialize &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;User _ApprovedBy = new User();&lt;/p&gt;
&lt;p&gt;Now it will create only &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;User ApprovedBy;&lt;/p&gt;
&lt;p&gt;Am using Self Tracking Entities Template.&lt;/p&gt;
&lt;p&gt;I can chage the template but it will affect all entites generated by template. &lt;/p&gt;
&lt;p&gt;Is there is any way to initialize a navigation property by setting something like 'Initialize New Instnace' through EDM Designer ?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9889328" width="1" height="1"&gt;</description></item><item><title>re: Feature CTP Walkthrough: Self Tracking Entities for Entity Framework</title><link>http://blogs.msdn.com/b/adonet/archive/2009/06/22/feature-ctp-walkthrough-self-tracking-entities-for-entity-framework.aspx#9859870</link><pubDate>Fri, 07 Aug 2009 07:39:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9859870</guid><dc:creator>tangrl</dc:creator><description>&lt;p&gt;Will the new Entity Framework designer support Entity Framework + BaseEntity class model? Can somebody answer the question in this thread?&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://social.msdn.microsoft.com/Forums/en-US/adodotnetentityframework/thread/038d14e8-fc04-4b06-b1e4-d5b1a950a901"&gt;http://social.msdn.microsoft.com/Forums/en-US/adodotnetentityframework/thread/038d14e8-fc04-4b06-b1e4-d5b1a950a901&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9859870" width="1" height="1"&gt;</description></item><item><title>re: Feature CTP Walkthrough: Self Tracking Entities for Entity Framework</title><link>http://blogs.msdn.com/b/adonet/archive/2009/06/22/feature-ctp-walkthrough-self-tracking-entities-for-entity-framework.aspx#9854597</link><pubDate>Fri, 31 Jul 2009 21:06:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9854597</guid><dc:creator>Nabil Sedoud</dc:creator><description>&lt;p&gt;I make a test for this Walkthrough by using code only Context, and i receive this error &amp;quot;underlying connection was closed: The connection was closed unexpectedly&amp;quot;&lt;/p&gt;
&lt;p&gt;I think that there is an incompatobility when use T4 SelftTracking with CodeOnly approche.&lt;/p&gt;
&lt;p&gt;unfortunately it's an other limitation of EF &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9854597" width="1" height="1"&gt;</description></item><item><title>re: Feature CTP Walkthrough: Self Tracking Entities for Entity Framework</title><link>http://blogs.msdn.com/b/adonet/archive/2009/06/22/feature-ctp-walkthrough-self-tracking-entities-for-entity-framework.aspx#9840062</link><pubDate>Sun, 19 Jul 2009 17:43:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9840062</guid><dc:creator>radyo dinle</dc:creator><description>&lt;p&gt;Thank you for submitting this cool story&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9840062" width="1" height="1"&gt;</description></item><item><title>EF4 – Features CTP1</title><link>http://blogs.msdn.com/b/adonet/archive/2009/06/22/feature-ctp-walkthrough-self-tracking-entities-for-entity-framework.aspx#9798929</link><pubDate>Tue, 23 Jun 2009 08:59:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9798929</guid><dc:creator>Matthieu MEZIL</dc:creator><description>&lt;p&gt;Avec VS 2010 Beta 1, il manquait quelque features pour lesquelles l’EF team avait communiqu&amp;#233; en disant&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9798929" width="1" height="1"&gt;</description></item><item><title>Описание Feature CTP : описание механизма Self Tracking Entities</title><link>http://blogs.msdn.com/b/adonet/archive/2009/06/22/feature-ctp-walkthrough-self-tracking-entities-for-entity-framework.aspx#9798890</link><pubDate>Tue, 23 Jun 2009 08:11:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9798890</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;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9798890" width="1" height="1"&gt;</description></item><item><title>Feature CTP Walkthrough: Self Tracking Entities for Entity Framework | ASP.NET MVC</title><link>http://blogs.msdn.com/b/adonet/archive/2009/06/22/feature-ctp-walkthrough-self-tracking-entities-for-entity-framework.aspx#9798828</link><pubDate>Tue, 23 Jun 2009 07:24:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9798828</guid><dc:creator>Feature CTP Walkthrough: Self Tracking Entities for Entity Framework | ASP.NET MVC</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://aspmvc.co.cc/2009/06/22/feature-ctp-walkthrough-self-tracking-entities-for-entity-framework/"&gt;http://aspmvc.co.cc/2009/06/22/feature-ctp-walkthrough-self-tracking-entities-for-entity-framework/&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9798828" width="1" height="1"&gt;</description></item></channel></rss>