<?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>Computing an Original Value Graph</title><link>http://blogs.msdn.com/dsimmons/archive/2007/12/08/computing-an-original-value-graph.aspx</link><description>In a previous post I shared some code which can be used to compute an original value version of an object using the information stored in ObjectStateManager, and in this post I gave some background about how the state manager and the relationship manager</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>EF Extension Methods Extravaganza Part III – Fun with LINQ to Objects</title><link>http://blogs.msdn.com/dsimmons/archive/2007/12/08/computing-an-original-value-graph.aspx#7143907</link><pubDate>Fri, 18 Jan 2008 00:36:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7143907</guid><dc:creator>system.data.objects dev guy</dc:creator><description>&lt;p&gt;In this previous post and its follow-on I shared a series of extension methods that I’ve been using to&lt;/p&gt;
</description></item><item><title>re: Computing an Original Value Graph</title><link>http://blogs.msdn.com/dsimmons/archive/2007/12/08/computing-an-original-value-graph.aspx#8924149</link><pubDate>Thu, 04 Sep 2008 13:05:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8924149</guid><dc:creator>datdb</dc:creator><description>&lt;p&gt;hi Danny,&lt;/p&gt;
&lt;p&gt;Your code is very useful for me but the method SetRelationships sometime cause stack overflow. How can I fix it ?&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
</description></item><item><title>re: Computing an Original Value Graph</title><link>http://blogs.msdn.com/dsimmons/archive/2007/12/08/computing-an-original-value-graph.aspx#8931145</link><pubDate>Sun, 07 Sep 2008 22:05:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8931145</guid><dc:creator>dsimmons@microsoft.com</dc:creator><description>&lt;p&gt;Sorry for not responding sooner. &amp;nbsp;Sounds like there's an issue with the recursion, but I'm not sure just what it is. &amp;nbsp;If you can produce something that will repro the problem regularly and share it with me, that would be a huge help.&lt;/p&gt;
&lt;p&gt;If not, I'll try to get the time to look at this generally and see what I can find out, but I'm not sure exactly when that will happen.&lt;/p&gt;
&lt;p&gt;- Danny&lt;/p&gt;
</description></item><item><title>re: Computing an Original Value Graph</title><link>http://blogs.msdn.com/dsimmons/archive/2007/12/08/computing-an-original-value-graph.aspx#8961890</link><pubDate>Tue, 23 Sep 2008 06:49:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8961890</guid><dc:creator>datdb</dc:creator><description>&lt;p&gt;thanks for your good intention, the idea behind the method CreateOriginalValuesGraph is very good, &amp;nbsp;but in practice we do not always want to get an entity with full graph. This mean, in some cases, we need to get entity's original value that including some relations, not all of relations (I've just imagine it like ObjectQuery.Include() method).&lt;/p&gt;
&lt;p&gt;So can you suggest idea to implement the method like this ?&lt;/p&gt;
&lt;p&gt;Dat&lt;/p&gt;
</description></item><item><title>re: Computing an Original Value Graph</title><link>http://blogs.msdn.com/dsimmons/archive/2007/12/08/computing-an-original-value-graph.aspx#8961929</link><pubDate>Tue, 23 Sep 2008 07:55:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8961929</guid><dc:creator>dsimmons@microsoft.com</dc:creator><description>&lt;p&gt;The truth is that I just don't have the time to sit down and write this at the moment, but I don't think it would be that hard. &amp;nbsp;You would just need to consider whether or not a relationship type is one you want to recurse into or skip before making the recursive call at the bottom of SetRelationships. &amp;nbsp;The complexity would mostly come in the form of parsing the include statements and maintaining a stack showing what navigations you have done in order to compare with the include.&lt;/p&gt;
&lt;p&gt;- Danny&lt;/p&gt;
</description></item></channel></rss>