{"push_id":1261575427,"size":3,"distinct_size":1,"ref":"refs/heads/SetCurrentValues0819","head":"64efbb655bc5c241d268b5d13585df38fc2b7d28","before":"4ba09fc6d62086486262536f9eeb7eade187d06c","commits":[{"sha":"9239d9e786e5fe5326081580e8f50831af84a3a6","author":{"name":"Nate McMaster","email":"7321eefd5087d2d285ac82f61bab66635e24d81c@users.noreply.github.com"},"message":"Improve error messages for upgrade scenarios (#6375)\n\nOther minor tweaks:\r\nFix #6371 - always create new instance of DbContext for each design-time operation\r\nFix color in drop database command so it displays better against default\r\nblue PowerShell background\r\nFix #6371 - always create new instance of DbContext for each design-time\r\noperation\r\nRemove ForwardStdErr and ForwardStdOut from dotnet-ef","distinct":false,"url":"https://api.github.com/repos/aspnet/EntityFramework/commits/9239d9e786e5fe5326081580e8f50831af84a3a6"},{"sha":"0765bf3244d5ac81c8ae3dac09571080e025a6f8","author":{"name":"Arthur Vickers","email":"3ab3eba5bb36eedaa911f5295a439bc48ecf25e4@hotmail.com"},"message":"Add API to get PropertyEntry objects for all properties of an entity\n\nLikewise for members, navigations, references, collections.\n\nIssues #2295 and #2245\n\nThe issue here is that it is quite common to want to do something for all property entries for a given entity. In the question asked by the customer this was to get the modified state. This was always possible but required two steps:\n- Use metadata APIs to find all the Properties\n- Loop/query over this metadata getting entries\n\nSo Rowan's code looked liked this:\n```C#\nvar entry = context.Entry(myEntity);\nvar propertyNames = entry.Metadata.GetProperties().Select(p => p.Name);\nvar modifiedEntries = propertyNames.Select(p => entry.Property(p)).Where(e => e.IsModified);\n```\n\nWith these new APIs the metadata and entry steps are combined for you so you would now write this:\n```C#\nvar modifiedEntries = context.Entry(myEntity).Properties.Where(e => e.IsModified);\n```","distinct":false,"url":"https://api.github.com/repos/aspnet/EntityFramework/commits/0765bf3244d5ac81c8ae3dac09571080e025a6f8"},{"sha":"64efbb655bc5c241d268b5d13585df38fc2b7d28","author":{"name":"Arthur Vickers","email":"3ab3eba5bb36eedaa911f5295a439bc48ecf25e4@hotmail.com"},"message":"Set current/original values directly from dictionary\n\nIssue #6368","distinct":true,"url":"https://api.github.com/repos/aspnet/EntityFramework/commits/64efbb655bc5c241d268b5d13585df38fc2b7d28"}]}
{"actor":{"display_login":"ajcvickers"}}