<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>entityframework Source Code Rss Feed</title><link>http://entityframework.codeplex.com/SourceControl/list/changesets</link><description>entityframework Source Code Rss Description</description><item><title>Source code checked in, #25ca7aa7fd0c195cf3fa689585420d142f9d31b0</title><link>http://entityframework.codeplex.com/SourceControl/changeset/25ca7aa7fd0c195cf3fa689585420d142f9d31b0</link><description>Migrations&amp;#58; Fix for &amp;#35;1216 - History table warning when scripting&amp;#10;&amp;#10;Problem&amp;#58; After adding ContextKey to the PK of the history table the combined PK length was greater than the SQL Server allowed maximum &amp;#40;900 bytes&amp;#41;.&amp;#10;Solution&amp;#58; Reduce the total size of the composite PK to not exceed the 900 byte limit. Ensure that we enforce migration id max length at creation time.&amp;#10;&amp;#10;Work Item&amp;#58; 1216&amp;#10;</description><author>AndrewPeters</author><pubDate>Tue, 18 Jun 2013 19:58:01 GMT</pubDate><guid isPermaLink="false">Source code checked in, #25ca7aa7fd0c195cf3fa689585420d142f9d31b0 20130618075801P</guid></item><item><title>Source code checked in, #b695ab94704b380acfbdbe036e2db9a459cc4c82</title><link>http://entityframework.codeplex.com/SourceControl/changeset/b695ab94704b380acfbdbe036e2db9a459cc4c82</link><description>Removing AsStreaming extension generic constraint&amp;#10;Removing null check for server name in ExecutionStrategyKey constructor&amp;#10;Adding a constructor to SqlAzureExecutionStrategy&amp;#10;&amp;#10;Work items&amp;#58; 1164, 1166, 1201&amp;#10;</description><author>AndriySvyryd</author><pubDate>Tue, 18 Jun 2013 17:51:41 GMT</pubDate><guid isPermaLink="false">Source code checked in, #b695ab94704b380acfbdbe036e2db9a459cc4c82 20130618055141P</guid></item><item><title>Source code checked in, #4505dd693e2f19b0b7aea66ec3a26aaf5107275c</title><link>http://entityframework.codeplex.com/SourceControl/changeset/4505dd693e2f19b0b7aea66ec3a26aaf5107275c</link><description>Ran code cleanup.&amp;#10;</description><author>AndrewPeters</author><pubDate>Tue, 18 Jun 2013 16:48:08 GMT</pubDate><guid isPermaLink="false">Source code checked in, #4505dd693e2f19b0b7aea66ec3a26aaf5107275c 20130618044808P</guid></item><item><title>Source code checked in, #7ee2c87b858f6d1c746cd7eb583a8b81cf97bd93</title><link>http://entityframework.codeplex.com/SourceControl/changeset/7ee2c87b858f6d1c746cd7eb583a8b81cf97bd93</link><description>Restoring correct indentation of SPROC bodies in generated migrations&amp;#10;</description><author>AndrewPeters</author><pubDate>Tue, 18 Jun 2013 16:48:06 GMT</pubDate><guid isPermaLink="false">Source code checked in, #7ee2c87b858f6d1c746cd7eb583a8b81cf97bd93 20130618044806P</guid></item><item><title>Source code checked in, #18e91c98ee3c65254701fd395321f224ba9355f4</title><link>http://entityframework.codeplex.com/SourceControl/changeset/18e91c98ee3c65254701fd395321f224ba9355f4</link><description>Per pull-request review&amp;#58;&amp;#10;&amp;#10;- Remove HardTabString and &amp;#34;&amp;#92;t&amp;#34; where used.&amp;#10;&amp;#10;- Renamed AppendKeyWord to AppendKeyword and removed CodeAnalysis message suppression.&amp;#10;&amp;#10;- Added newly needed CodeAnalysis message suppressions.&amp;#10;&amp;#10;- Reduced fragility of unit test by collapsing whitespace.&amp;#10;</description><author>AndrewPeters</author><pubDate>Tue, 18 Jun 2013 16:48:05 GMT</pubDate><guid isPermaLink="false">Source code checked in, #18e91c98ee3c65254701fd395321f224ba9355f4 20130618044805P</guid></item><item><title>Source code checked in, #4539642889f0ba2d8efa01005798df2c4be400a7</title><link>http://entityframework.codeplex.com/SourceControl/changeset/4539642889f0ba2d8efa01005798df2c4be400a7</link><description>Changed expected strings to match new indentation &amp;#40;should probably be less fragile tests&amp;#41;&amp;#10;</description><author>AndrewPeters</author><pubDate>Tue, 18 Jun 2013 16:48:03 GMT</pubDate><guid isPermaLink="false">Source code checked in, #4539642889f0ba2d8efa01005798df2c4be400a7 20130618044803P</guid></item><item><title>Source code checked in, #2d9af3740c1318ab4080c5e0b05c32570d9e7585</title><link>http://entityframework.codeplex.com/SourceControl/changeset/2d9af3740c1318ab4080c5e0b05c32570d9e7585</link><description>- Added ability to IndentedTextWriter to cache indentation string so&amp;#10;we don&amp;#39;t incur massive string-allocations for white-space. Explicitly&amp;#10;exposed the forced culture &amp;#40;InvariantCulture&amp;#41; so users won&amp;#39;t guess&amp;#10;wrong if passing in their own TextWriter.&amp;#10;&amp;#10;- Made SqlWriter simply inherit from IndentedTextWriter so it could&amp;#10;benefit from the caching and migrated the &amp;#34;only a new-line&amp;#34; logic&amp;#10;down to IndentedTextWriter for consistent emission of indentation.&amp;#10;&amp;#10;- SqlStringBuilder now exposes the InnerBuilder for use when we would&amp;#10;be just making a StringBuilder and passing it to Append later. This&amp;#10;allows the underlying to be used without constant newing of new&amp;#10;builders, and also allows TextWriters &amp;#40;particularly&amp;#10;IndentingTextWriters&amp;#41; to just append directly.&amp;#10;&amp;#10;- DmlSqlGenerator now wraps the _commandText.InnerBuilder to&amp;#10;eliminate newing up a StringBuilder and copying of strings by&amp;#10;writing directly into the _commandText.&amp;#10;&amp;#10;- Eliminated the sqlCE&amp;#39;s need for AppendFormat on the&amp;#10;sqlCE version SqlStringBuilder, just for some concatenation.&amp;#10;&amp;#10;- SqlServerMigrationSqlGenerator, CShareMigrationCodeGenerator,&amp;#10;and VisualBasicCodeGenerator use the writer&amp;#39;s CurrentIdentation&amp;#10;method directly &amp;#40;again to benefit from the cache&amp;#41;.&amp;#10;&amp;#10;&amp;#40;at this point, I think we should move IndentedTextWriter,&amp;#10;SqlWriter, and SqlStringBuilder into EntityFramework proper&amp;#41;&amp;#10;</description><author>AndrewPeters</author><pubDate>Tue, 18 Jun 2013 16:48:02 GMT</pubDate><guid isPermaLink="false">Source code checked in, #2d9af3740c1318ab4080c5e0b05c32570d9e7585 20130618044802P</guid></item><item><title>Source code checked in, #3083d0b18a558e14408c5a80ab99adabc3860b5c</title><link>http://entityframework.codeplex.com/SourceControl/changeset/3083d0b18a558e14408c5a80ab99adabc3860b5c</link><description>Making some conventions more extensible.&amp;#10;&amp;#10;Workitem&amp;#58; 731&amp;#10;</description><author>AndriySvyryd</author><pubDate>Mon, 17 Jun 2013 23:22:47 GMT</pubDate><guid isPermaLink="false">Source code checked in, #3083d0b18a558e14408c5a80ab99adabc3860b5c 20130617112247P</guid></item><item><title>Source code checked in, #8fe61609ca3b3fd0aaaa4c912aba31d17042d34e</title><link>http://entityframework.codeplex.com/SourceControl/changeset/8fe61609ca3b3fd0aaaa4c912aba31d17042d34e</link><description>Made mapping API internal and exposed them to designer with InternalsVisibleTo&amp;#10;</description><author>Emil Cicos</author><pubDate>Mon, 17 Jun 2013 19:23:20 GMT</pubDate><guid isPermaLink="false">Source code checked in, #8fe61609ca3b3fd0aaaa4c912aba31d17042d34e 20130617072320P</guid></item><item><title>Source code checked in, #6cf455ba81c9b9a018dd2b20ba9d8b17971783ac</title><link>http://entityframework.codeplex.com/SourceControl/changeset/6cf455ba81c9b9a018dd2b20ba9d8b17971783ac</link><description>Migrations&amp;#58; Log messages raised by the Sql&amp;#40;Ce&amp;#41;Connection.InfoMessage event&amp;#10;&amp;#10;Problem&amp;#58; Bug &amp;#35;1216 identified a problem in that command execution warnings generated by ADO.NET providers are not surfaced in the default migrations UX.&amp;#10;Solution&amp;#58; Updated the logging decorator to capture warnings during command execution. Unfortunately, the InfoMessage event used to intercept warnings is not part of the ADO provider surface, so I had to add surface to our provider model to enable hooking the provider specific event.&amp;#10;</description><author>AndrewPeters</author><pubDate>Mon, 17 Jun 2013 17:29:36 GMT</pubDate><guid isPermaLink="false">Source code checked in, #6cf455ba81c9b9a018dd2b20ba9d8b17971783ac 20130617052936P</guid></item><item><title>Source code checked in, #003d32b753ce0096ee4ee9f9abe9d81a5d34c146</title><link>http://entityframework.codeplex.com/SourceControl/changeset/003d32b753ce0096ee4ee9f9abe9d81a5d34c146</link><description>CountCheapula&amp;#58; For Work Item&amp;#58; 1089 Performance enhancement for EntityAdapter.IsStateManagerDirty method&amp;#10;&amp;#10;This is a contribution from IDisposable to replace uses of GetObjectStateEntriesCount and GetObjectStateEntries with a new method HasChanges that doesn&amp;#39;t bother getting or counting any entries but just returns true as soon as it is known that there is something that needs to be saved.&amp;#10;</description><author>ajcvickers</author><pubDate>Fri, 14 Jun 2013 02:46:08 GMT</pubDate><guid isPermaLink="false">Source code checked in, #003d32b753ce0096ee4ee9f9abe9d81a5d34c146 20130614024608A</guid></item><item><title>Source code checked in, #07586120afab14f7a2f0df07d58192c4e356f298</title><link>http://entityframework.codeplex.com/SourceControl/changeset/07586120afab14f7a2f0df07d58192c4e356f298</link><description>Avoiding throwing exceptions when spatial services are requested from the provider if they aren&amp;#39;t available, unless they are required to continue.&amp;#10;&amp;#10;Workitem&amp;#58; 1113, 1225&amp;#10;</description><author>AndriySvyryd</author><pubDate>Wed, 12 Jun 2013 00:21:28 GMT</pubDate><guid isPermaLink="false">Source code checked in, #07586120afab14f7a2f0df07d58192c4e356f298 20130612122128A</guid></item><item><title>Source code checked in, #4f810f94765f49ee019d2e0c5482f3b078947344</title><link>http://entityframework.codeplex.com/SourceControl/changeset/4f810f94765f49ee019d2e0c5482f3b078947344</link><description>Unifying IEdmConvention and IDbConvention into IModelConvention and adding overloads that accept a DataSpace to distinguish them.&amp;#10;&amp;#10;Making IDbMappingConvention internal as there is no public API that it can use to modify the mapping.&amp;#10;&amp;#10;Workitem&amp;#58; 1048&amp;#10;</description><author>AndriySvyryd</author><pubDate>Wed, 12 Jun 2013 00:18:03 GMT</pubDate><guid isPermaLink="false">Source code checked in, #4f810f94765f49ee019d2e0c5482f3b078947344 20130612121803A</guid></item><item><title>Source code checked in, #0184dc24e0ca03fbcbfc68268c7bb664c7a28a09</title><link>http://entityframework.codeplex.com/SourceControl/changeset/0184dc24e0ca03fbcbfc68268c7bb664c7a28a09</link><description>Adding more verification to HasPrecision&amp;#10;&amp;#10;Workitem&amp;#58; 1047&amp;#10;</description><author>AndriySvyryd</author><pubDate>Tue, 11 Jun 2013 18:35:22 GMT</pubDate><guid isPermaLink="false">Source code checked in, #0184dc24e0ca03fbcbfc68268c7bb664c7a28a09 20130611063522P</guid></item><item><title>Source code checked in, #ca249bedacaeef66484a0730f22a11f1b242559d</title><link>http://entityframework.codeplex.com/SourceControl/changeset/ca249bedacaeef66484a0730f22a11f1b242559d</link><description>WhoGotTheFunc &amp;#40;CodePlex 396&amp;#58; Handle closures containing DbSet&amp;#47;DbQuery members&amp;#41;&amp;#10;&amp;#10;The code we previously had for this was broken in that it only handled DbQuery&amp;#47;DbSet members that were typed as IQueryable. However, this was already almost fixed in EF6 with the change to handle funcletization of DbQueries directly in LINQ to Entities. The one tweak needed to make this case work and remove the need for the translation in the wrapping provider was to make sure that the expression type of the ObjectQuery expression created by the funcletizer is ObjectQuery or a derivation. The code was previously just using the type of the expression passed in, which was okay when the expression coming in was an ObjectQuery, but not okay if it was a DbQuery that had been converted to an ObjectQuery.&amp;#10;</description><author>ajcvickers</author><pubDate>Mon, 10 Jun 2013 16:59:29 GMT</pubDate><guid isPermaLink="false">Source code checked in, #ca249bedacaeef66484a0730f22a11f1b242559d 20130610045929P</guid></item><item><title>Source code checked in, #48bca474b6697f0ea20f4595284858a0e901a569</title><link>http://entityframework.codeplex.com/SourceControl/changeset/48bca474b6697f0ea20f4595284858a0e901a569</link><description>Fixing build break&amp;#10;</description><author>AndrewPeters</author><pubDate>Mon, 10 Jun 2013 16:42:14 GMT</pubDate><guid isPermaLink="false">Source code checked in, #48bca474b6697f0ea20f4595284858a0e901a569 20130610044214P</guid></item><item><title>Source code checked in, #cf6619faf28cffd3b2f07c46213056a5406dfdd8</title><link>http://entityframework.codeplex.com/SourceControl/changeset/cf6619faf28cffd3b2f07c46213056a5406dfdd8</link><description>Merge branch &amp;#39;master&amp;#39; of https&amp;#58;&amp;#47;&amp;#47;git01.codeplex.com&amp;#47;entityframework&amp;#10;</description><author>AndrewPeters</author><pubDate>Fri, 07 Jun 2013 21:31:22 GMT</pubDate><guid isPermaLink="false">Source code checked in, #cf6619faf28cffd3b2f07c46213056a5406dfdd8 20130607093122P</guid></item><item><title>Source code checked in, #fc5166a68cb4331885c11066a493e004de9c9685</title><link>http://entityframework.codeplex.com/SourceControl/changeset/fc5166a68cb4331885c11066a493e004de9c9685</link><description>Runtime&amp;#58; Two fixes&amp;#58;&amp;#10;&amp;#10;1&amp;#41; &amp;#35;1136 - Make update command trees publicly constructible&amp;#10;&amp;#10;Solution&amp;#58; Made the ctors public and also added ToString&amp;#40;&amp;#41; to DbCommandTree. ToString calls Print&amp;#40;&amp;#41; which renders a textual version of the tree - highly useful when debugging&amp;#47;testing trees.&amp;#10;&amp;#10;2&amp;#41; &amp;#35;1190 - Code First Stored Procs &amp;#58;&amp;#58; exception thrown when using stored procs to map entity with self reference and 1-1 reference to another entity with non-int key&amp;#10;&amp;#10;Problem&amp;#58; When generating update trees for entities involved in one-to-one associations using IAs, we first need to change the relationship state to deleted before setting it to added.&amp;#10;Solution&amp;#58; Make the additional call to ChangeRelationshipState when this case is detected. In order to make the call, we need to fabricate a second stub principal entity and that entity needs a key different from the stub entity we are using to set the relationship state to added &amp;#40;otherwise state manager validation will fail&amp;#41;, so I had to add the ability to generate fake key values for the stub principal. I also noticed that we were not handling spatial keys correctly and so I fixed that too.&amp;#10;&amp;#10;Work Item&amp;#58; 1136, 1190&amp;#10;</description><author>AndrewPeters</author><pubDate>Fri, 07 Jun 2013 21:30:36 GMT</pubDate><guid isPermaLink="false">Source code checked in, #fc5166a68cb4331885c11066a493e004de9c9685 20130607093036P</guid></item><item><title>Source code checked in, #23ba9d87176d0f4a3140c7dad5f273329a20c7c1</title><link>http://entityframework.codeplex.com/SourceControl/changeset/23ba9d87176d0f4a3140c7dad5f273329a20c7c1</link><description>EfHasNoRestrictions &amp;#40;CodePlex 1212&amp;#58; Remove OperationAction.Restrict&amp;#41;&amp;#10;&amp;#10;OperationAction.Restrict is not supported by EF. This changes removes all places &amp;#40;that I could find&amp;#41; where it is referred to.&amp;#10;</description><author>ajcvickers</author><pubDate>Fri, 07 Jun 2013 20:44:26 GMT</pubDate><guid isPermaLink="false">Source code checked in, #23ba9d87176d0f4a3140c7dad5f273329a20c7c1 20130607084426P</guid></item><item><title>Source code checked in, #9ae70370f474d9f6044a1491a475705f2fd0b384</title><link>http://entityframework.codeplex.com/SourceControl/changeset/9ae70370f474d9f6044a1491a475705f2fd0b384</link><description>CodePlex &amp;#35;643 - Updated code to remove stale association types and to use column information from SSpace instead of CSpace when copying foreign key constraint.&amp;#10;</description><author>Emil Cicos</author><pubDate>Fri, 07 Jun 2013 19:01:00 GMT</pubDate><guid isPermaLink="false">Source code checked in, #9ae70370f474d9f6044a1491a475705f2fd0b384 20130607070100P</guid></item></channel></rss>