MySQL Connector/NET Release Notes  /  Changes in MySQL Connector/Net 7.0  /  Changes in MySQL Connector/NET 7.0.6 (2016-10-28, Milestone 5)

Changes in MySQL Connector/NET 7.0.6 (2016-10-28, Milestone 5)

Functionality Added or Changed

  • Document Store: The SessionConfig class, SessionConfigManager class, and IpersistenceHandler interface were added for session-configuration management to represent all the information associated with a session.

  • EF Core: Added all-platform compliance support for the .NET Framework stack (Console, WPF, WinForms, and ASP.NET) and compatibility with ASP.NET 5 when using the .NET Framework or .NET Core version.

  • Added the following functionality for saving changes in EF Core:

    • Basic save operation to persist entity-instance changes to the database.

    • Optimistic concurrency to protect against overwriting changes made by another user after data was fetched from the database.

Bugs Fixed

  • EF Core: A missing function used when a model is added or changed caused the migration generation to fail. MySQLHistoryRepository now implements get_existssql(). (Bug #24804771)

  • EF Core: An SQL syntax error was emitted when the Contains operator was used in the Where predicate of a LINQ query. This fix requires the use of EF Core version 1.1 or later. (Bug #24797524)

  • An Entity Framework DbContext object created with a column of type DateTimeOffset returned an error indicating that DateTimeOffset values were incompatible with DateTime and Timestamp values. (Bug #24732001)

  • Document Store: The GetCollections(), GetTable(), and GetTables() methods threw System.InvalidOperationException: name is not a valid column name in the row. (Bug #24385662)