Known Limitation of This Release
To create a model in Entity Framework (EF) Core v2.0 with scaffolding or migration in this release, use the following alternative procedure:
- Downgrade to EF Core 1.0 or 1.1 in your project, install the - MySql.Data.EntityFrameworkCore.DesignNuGet package, and then create your model using the scaffolding or migration command.
- With the model created, revert back to EF Core 2.0 in your project, update the - MySql.Data.EntityFrameworkCoreNuGet package, and then remove the package- MySql.Data.EntityFrameworkCore.Designfrom your project.
We are sorry for this temporary inconvenience.
- Optimistic locking for database-generated fields was improved with the inclusion of the - [ConcurrencyCheck, DatabaseGenerated(DatabaseGeneratedOption.Computed)]attribute. Thanks to Tony Ohagan for the patch. (Bug #28095165, Bug #91064)
- 
Members of several classes in the MySqlXnamespace were added, modified, or removed.MySqlX.XDevAPI.CollectionandMySqlX.XDevAPI.Collection<classes:T>- Remove(Object)method was marked- Obsolete.
- Remove(DbDoc)method was marked- Obsolete.
- CreateIndex()method was modified to be a direct-execute method (no longer requires- .Execute()to execute).
 MySqlX.XDevAPI.Common.Resultclass:- RecordsAffectedproperty (now obsolete) was replaced with- AffectedItemsCount.
- WarningCountproperty (now obsolete) was replaced with- WarningsCount.
 MySqlX.XDevAPI.CRUD.FindStatementclass:- GroupBy()method was added.
- Having()method was added.
- Limit(Int64, Int64)method was marked- Obsolete.
- Offset()method was added.
- Sort()method was added.
- OrderBy()method was removed.
 MySqlX.XDevAPI.CRUD.ModifyStatementclass:- ArrayInsertmethod was added.
- ArrayAppendmethod was added.
- Unset()method was modified to accept an array of document paths.
 MySqlX.XDevAPI.CRUD.RemoveStatementclass:- Sort()method was added.
- OrderBy()method was removed.
 MySqlX.XDevAPI.Relational.RowResultclass:- ColumnCountproperty was added.
- ColumnNamesproperty was added.
 MySqlX.XDevAPI.Relational.SqlResultclass:- AutoIncrementValueproperty was marked- Obsolete.
 MySqlX.XDevAPI.Relational.TableSelectStatementclass:- Limit(Int64, Int64)method was marked- Obsolete.
- Offset()method was added.
 MySqlX.XDevAPI.Sessionclass:- Commit()method was changed to be a direct-execute method and now it returns- void.
- Rollback()method was changed to be a direct-execute method and now it returns- void.
- Uriproperty was added.
- DefaultSchemaproperty was added.
 (Bug #27732098, Bug #27732175, Bug #27732235, WL #11843) 
- The - MySqlX.XDevAPI.MySqlXConnectionStringBuilderclass was added to provide connection-string options that apply exclusively to X Protocol connections. In addition, the- Auth,- SslCa, and- SslCrlproperties in the- MySql.Data.MySqlClient.MySqlConnectionStringBuilderclass were marked- Obsolete. (WL #11846)
- Document Store: Decimal numbers passed to the - DbDocclass were not parsed properly when the values included a decimal separator other than a period (- .) character. (Bug #28112229)
- Document Store: The list of members shown with IntelliSense did not match the members provided in the reference documentation. (Bug #27918879, Bug #90615) 
- The Entity Framework Core implementation did not render accented characters correctly on bases with different UTF-8 encoding. Thanks to Kleber kleberksms for the patch. (Bug #27818822, Bug #90316) 
- The - TreatTinyAsBooleanconnection option was ignored when the- MySqlCommand.Prepare()method was called. (Bug #27113566, Bug #88472)
- All columns of type - TINYINT(1)stopped returning the expected Boolean value after the connector encountered a- NULLvalue in any column of this type. Thanks to David Warner for the patch. (Bug #22101727, Bug #78917)