Bug #98011 Method not Implemented - EFCore scaffolding
Submitted: 17 Dec 2019 19:35 Modified: 3 Mar 20:23
Reporter: Indhu Balasubramaniam Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / NET Severity:S1 (Critical)
Version:8.0.18, 8.0.13 OS:Any
Assigned to: CPU Architecture:Any

[17 Dec 2019 19:35] Indhu Balasubramaniam
Description:
Method 'Create' in type 'MySql.Data.EntityFrameworkCore.Scaffolding.Internal.MySQLDatabaseModelFactory' from assembly 'MySql.Data.EntityFrameworkCore, Version=8.0.18.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' does not have an implementation.

Get this error when scaffolding with a MySQL database. 

This is a repeat of the bug #90368 which was closed.

How to repeat:
Follow the steps in the is documentation article.

https://dev.mysql.com/doc/connector-net/en/connector-net-entityframework-core-scaffold-exa...
[18 Dec 2019 7:42] MySQL Verification Team
Hello Indhu Balasubramaniam,

Thank you for the report and feedback.

regards,
Umesh
[18 Dec 2019 15:54] Bradley Grainger
This error will occur when you use MySql.Data.EntityFrameworkCore with EF Core (Microsoft.EntityFrameworkCore) 3.0 or later. MySql.Data.EntityFrameworkCore 8.0.18 is only compatible with EF Core 2.x.

There are two possible fixes:

* Downgrade Microsoft.EntityFrameworkCore to 2.2.6. (You can still use .NET Core 3.0; you just can't use EF Core 3.0.)
* Switch to an alternative MySQL EF Core provider that already supports EF Core 3.0: https://www.nuget.org/packages/Pomelo.EntityFrameworkCore.MySql (this already has support for EF Core 3.1.0).
[3 Mar 20:23] Christine Cole
Posted by developer:
 
Fixed as of the upcoming MySQL Connector/NET 8.0.20 release, and here's the proposed changelog entry from the documentation team:

Scaffolding a MySQL database with EF Core 3.0 was not implemented by
Connector/NET and the connector returned an exception in response to its
use. Support for EF Core 3.1.1 in this release adds scaffolding
capabilities.

Thank you for the bug report.