MySQL Connector/Net 7.0.4 is the first developer release which expands cross-platform supporting Linux and OS X while using Microsoft’s .NET Core framework. .NET developers will now be able to use X DevAPI with .NET Core and Entity Framework Core (EF Core) 1.0 in order to create server applications which will run on Windows, Linux and OS X.
MySQL Connector/NET 7.0.4 is also the third development release of MySQL Connector/NET in order to add support for the latest X DevAPI. The X DevAPI helps in enabling the application developers to write code, which combines the strengths of the relational and document models by using the modern, NoSQL – Like syntax which does not assume earlier experience writing traditional SQL.
In order to learn more about how to write applications using the X DevAPI,
check here. You can also download MySQL Connector/Net 7.0.4 m3
check here.
Functionality Added or Changed in 7.0.4 M3 development release, as per the
official blog;
- 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>]
- Added X DevAPI support for flexible parameter lists that do not require string parsing.
- 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 in this release, as per the official blog:
- Passing no document or a DbDoc object which 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)
- Passing a DbDoc object that contained an array to the Add() method of a collection would throw an exception. (Bug #23542031)