Change DbMigrationsConfiguration.Seed Description [FixedIn6.1.0-alpha1] [AffectedLastRTM]


In EF5, Seed's summary says:
Runs after upgrading to the latest migration to allow seed data to be updated.

This should be modified to reflect the real behavior which is that it always runs as long as migrations is the initializer.
Closed Dec 4, 2013 at 4:09 PM by mgirgin


ajcvickers wrote Dec 2, 2013 at 5:06 PM

Fixed in 1b7f3afcbb60

Thanksgiving leftovers... (Fixes for several small bugs)

These are bugs that are quite simple to fix but are mostly low priority such that they generally get triaged out of releases.

https://entityframework.codeplex.com/workitem/133 Better exception message when AcceptChanges encounters a key conflict
◾This is about putting entity type names in the message so I also did it for common Attach and ReferentialConstraint violation cases.

https://entityframework.codeplex.com/workitem/356 Simplify exception message for connection failures
◾Note that the bug implies that we know that the reason for the failure is a connection failure. In fact all we know if that some method on the provider threw and exception. I updated the message to be clearer without being wrong. If we want to do something more complicated then it will have to be triaged as a separate item.
◾I will get a forward link to http://msdn.microsoft.com/en-us/data/jj592674

https://entityframework.codeplex.com/workitem/559 UpForGrabs: Remove "class" generic constraint from Include extension method

https://entityframework.codeplex.com/workitem/666 Document DbContext.SaveChanges exceptions

https://entityframework.codeplex.com/workitem/691 Key ordering unspecified exception could be more helpful
◾Per note on bug, just added forward links to documentation
◾Will get links for http://msdn.microsoft.com/en-us/data/jj591617#1.2 and http://msdn.microsoft.com/en-us/data/jj591583

https://entityframework.codeplex.com/workitem/844 Change DbMigrationsConfiguration.Seed Description

https://entityframework.codeplex.com/workitem/1052 Doc: IRelated.IsLoaded XML documentation is not up-to-date
https://entityframework.codeplex.com/workitem/1053 Doc: EntityConnection.State XML documentation wrong

https://entityframework.codeplex.com/workitem/1381 Make migrations configuration options such as AutomaticDataLossAllowed more discoverable
◾Updated the error message as suggested in the bug

https://entityframework.codeplex.com/workitem/1438 Consider making SqlSpatialServices public

https://entityframework.codeplex.com/workitem/1439 Consider making InitializeDatabase methods virtual in all initializers

https://entityframework.codeplex.com/workitem/1555 ObjectItemCollection doesn't seem to need [CLSCompliant(false)]
◾Removed all CLSCompiant(false) attributes and then added back only those that the compiler indicates are needed

https://entityframework.codeplex.com/workitem/1556 Three lines of dead code in InputForComputingCellGroups

https://entityframework.codeplex.com/workitem/1560 GenerateViews throws Sequence contains no matching element for incorrect container names
◾Added exception messages for this and also for hash calculation. Also added messages for single container methods when there is more than one container.
◾Updated tests to actually check the exception messages.

https://entityframework.codeplex.com/workitem/1639 Documentation :: misleading method description for DbModelBuilder.Types

https://entityframework.codeplex.com/workitem/1708 Fix typos in code base

https://entityframework.codeplex.com/workitem/1724 Consider converting debug methods from ObjectStateManager into functional tests
◾Both methods looked like they could be potentially useful if somebody makes changes in this area. Therefore, instead of removing them I added some checks that should avoid them being too slow when there are lots of entities but still provide value when running small tests such as the ones we have in the test suite.

https://entityframework.codeplex.com/workitem/1725 Assert followed by surprising exception when an EntityConnection and its underlying connection go out of sync
◾Changed assert into exception as suggested in bug.

https://entityframework.codeplex.com/workitem/1866 Documentation error or bug in HasDatabaseGeneratedOption method