MySQL Connector/NET Release Notes  /  Changes in MySQL Connector/Net 7.0  /  Changes in MySQL Connector/NET 7.0.4 (2016-08-22, Milestone 3)

Changes in MySQL Connector/NET 7.0.4 (2016-08-22, Milestone 3)

MySQL Connector/Net 7.0.4 is the first development release that expands cross-platform support to Linux and macOS when using Microsoft .NET Core framework. Now, .NET developers can use X DevAPI with .NET Core and Entity Framework Core 1.0 to create server applications that run on Windows, Linux, and macOS.

Functionality Added or Changed

  • Added X DevAPI support for flexible parameter lists that do not require string parsing.

  • Added X DevAPI support for URI connection strings in the following formats:

    • mysqlx://[user[:password]@]host[:port]

    • mysqlx://[user[:password]@]host[:port]/database

    • mysqlx://[user[:password]@]host[:port]/[database]?option=value[&option=value]

    • mysqlx+ssh://[user[:password]@]host[:port]

  • X DevAPI: Views are no longer implemented using a separate View class in the X DevAPI. Instead, the IsView property has been added to the Table class and views are implemented as tables.

  • Added in MySql.Data support for .NET Core 1.0, which runs on Windows, OS X, and Linux.

  • Added in MySQL.Data.EntityFrameworkCore support for Entity Framework (EF) Core (includes support for .NET Framework 4.5.1).

Bugs Fixed

  • X DevAPI: Passing no document or a DbDoc object that contained an empty array to the Add() method of a collection would throw an exception. Now, passing in either an empty document or array of documents returns a Results object in which RecordsAffected is zero. (Bug #23542066)

  • X DevAPI: Passing a DbDoc object that contained an array to the Add() method of a collection would throw an exception. (Bug #23542031)