<?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>EntityBag Part V – ContextSnapshot Constructing and Applying</title><link>http://blogs.msdn.com/dsimmons/archive/2008/01/23/entitybag-part-v-contexsnapshot-constructing-and-applying.aspx</link><description>For this post, I’m going to set a new personal record for least prose/most code. We’re going to look at the core of ContextSnapshot, and the code includes extensive comments so we’ll mostly let it speak for itself. Constructors We have two different constructors</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: EntityBag Part V – ContexSnapshot Constructing and Applying</title><link>http://blogs.msdn.com/dsimmons/archive/2008/01/23/entitybag-part-v-contexsnapshot-constructing-and-applying.aspx#7212763</link><pubDate>Thu, 24 Jan 2008 01:14:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7212763</guid><dc:creator>juliel</dc:creator><description>&lt;p&gt;Can you be sure to include a look at the payload and it's size for a smallish entity as a point of reference?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;(I acutally created and account on the msdn blogs for the first time ever JUST to leave this comment!)&lt;/p&gt;
</description></item><item><title>re: EntityBag Part V – ContexSnapshot Constructing and Applying</title><link>http://blogs.msdn.com/dsimmons/archive/2008/01/23/entitybag-part-v-contexsnapshot-constructing-and-applying.aspx#7216320</link><pubDate>Thu, 24 Jan 2008 08:02:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7216320</guid><dc:creator>dsimmons@microsoft.com</dc:creator><description>&lt;p&gt;Will do. &amp;nbsp;In fact, once I finish the last post with code, I'll probably do a follow-on post thinking about ways to improve perf across various axes (reduce computation, reduce payload size, etc.) as well as other future directions.&lt;/p&gt;
&lt;p&gt;- Danny&lt;/p&gt;
</description></item><item><title>re: EntityBag Part V – ContexSnapshot Constructing and Applying</title><link>http://blogs.msdn.com/dsimmons/archive/2008/01/23/entitybag-part-v-contexsnapshot-constructing-and-applying.aspx#7216797</link><pubDate>Thu, 24 Jan 2008 08:50:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7216797</guid><dc:creator>ccBoy</dc:creator><description>&lt;p&gt;System.Data.Objects.ObjectContext does not contain a extension method definition for &amp;quot;CreateOriginalValuesObjectWithReferences&amp;quot;&lt;/p&gt;
</description></item><item><title>re: EntityBag Part V – ContexSnapshot Constructing and Applying</title><link>http://blogs.msdn.com/dsimmons/archive/2008/01/23/entitybag-part-v-contexsnapshot-constructing-and-applying.aspx#7226821</link><pubDate>Thu, 24 Jan 2008 23:40:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7226821</guid><dc:creator>dsimmons@microsoft.com</dc:creator><description>&lt;p&gt;CreateOriginalValuesObjectWithReferences is another extension method I created to simplify some cases. &amp;nbsp;I guess it was left out of the extension methods series...&lt;/p&gt;
&lt;p&gt;In any case I've now published a .zip file with the whole project in it which is probably the easiest way to get this working. &amp;nbsp;You can find it at &lt;a rel="nofollow" target="_new" href="http://code.msdn.microsoft.com/entitybag"&gt;http://code.msdn.microsoft.com/entitybag&lt;/a&gt; &lt;/p&gt;
</description></item><item><title>re: EntityBag Part V – ContexSnapshot Constructing and Applying</title><link>http://blogs.msdn.com/dsimmons/archive/2008/01/23/entitybag-part-v-contexsnapshot-constructing-and-applying.aspx#7231917</link><pubDate>Fri, 25 Jan 2008 05:56:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7231917</guid><dc:creator>ccBoy</dc:creator><description>&lt;p&gt;Hi Daniel,You are right, I created the project in VS 2008 yesterday, and I followed your footsteps of your blog step by step, but I can't find the &amp;quot;CreateOriginalValuesObjectWithReferences&amp;quot; as you said:) &lt;/p&gt;
&lt;p&gt;Anyway I have found it later on with your project.&lt;/p&gt;
&lt;p&gt;Thanks for your reply and the project url.&lt;/p&gt;
</description></item><item><title>Creating an EntityBag class - article and code from Danny Simmons</title><link>http://blogs.msdn.com/dsimmons/archive/2008/01/23/entitybag-part-v-contexsnapshot-constructing-and-applying.aspx#7295059</link><pubDate>Tue, 29 Jan 2008 04:07:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7295059</guid><dc:creator>Hot Topics</dc:creator><description>&lt;p&gt;Danny Simmons wrote a class that persists the EntityState of objects in an ObjectContext so that they&lt;/p&gt;
</description></item></channel></rss>