Bug #102381 | Could not find type mapping for column with data type 'datetime' | ||
---|---|---|---|
Submitted: | 26 Jan 2021 16:36 | Modified: | 28 Jan 2021 21:54 |
Reporter: | Gustavo Cuatepotzo | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / NET | Severity: | S3 (Non-critical) |
Version: | 8.0.23 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[26 Jan 2021 16:36]
Gustavo Cuatepotzo
[28 Jan 2021 21:54]
Christine Cole
Posted by developer: Fixed as of the upcoming MySQL Connector/NET 8.0.24 release, and here's the proposed changelog entry from the documentation team: Several data types could not be mapped by running Scaffold-DbContext on valid MySQL tables. This fix upgrades Microsoft Entity Framework libraries to the latest and also adds all previously excluded mappings to the EFCore and EFCore5 projects. Thank you for the bug report.
[18 Feb 2021 15:39]
Pishangkumar Ujeniys
Same issue with MySql.Data.EntityFrameworkCore 8.0.22
[22 Feb 2021 5:14]
MySQL Verification Team
Bug #102680 marked as duplicate of this one
[8 Mar 2021 2:00]
Abdulkarim Kanaan
Hi until now no relase: MySQL Connector/NET 8.0.24 release
[17 Mar 2021 13:39]
MySQL Verification Team
Bug #102934 marked as duplicate of this one.
[22 Mar 2021 2:40]
Evgeny Prikhodko
Hi. Who can tell when there will be a new version of nuget for 3.1 and 5 EFCore?
[31 Mar 2021 18:17]
Gustavo Cuatepotzo
https://insidemysql.com/mysql-connector-net-provider-for-entity-framework-core-renamed/
[27 Apr 2021 16:49]
Jonathan Grenier
Just installed 8.0.24 on my computer and tried again to scaffold our database. Still getting the same yellow message: Could not find type mapping for column 'database_name.table_name.column_name' with data type 'timestamp'. Skipping column. Currently installed: MySQL Server 8.0.24 MySQL for Visual Studio 8.0.24 MySQL Shell 8.0.24 Connector/ODBC 8.0.24 Connector/NET 8.0.24 Also have NuGet package: MySql.Data 8.0.24 MySql.EntityFrameworkCore 5.0.3 (says 5.0.3+MySQL8.0.24 in the version) Microsoft.EntityFrameworkCore 5.0.5 Microsoft.EntityFrameworkCore.Relation 5.0.5 Is there anything I'm missing? Thank you!
[14 May 2021 14:42]
edilson amaral
Still happening in 8.0.25
[20 Aug 2021 1:41]
ROBERTO RUIZ DEL VALLE
I have the same Issue. Ensure you are using MySql.EntityFrameworkCore instead MySql.Data.EntityFrameworkCore Ensure you have the last version 5.05 This works for me. Regards