I was working with a database in MSSQL and want to try out MySql 5.7.14. I installed the mysql connector and ran:
Add-Migration InitialCreate
The result was
The property 'Records.Price' is of type 'decimal' which is not supported by current database provider.
So I tried, double and float. Same issue. I know that MySql supports these data types. Any idea what I am doing wrong?
Did you try another MySql EF Core provider?
https://www.nuget.org/packages/Pomelo.EntityFrameworkCore.MySql
https://www.nuget.org/packages/MySql.Data.EntityFrameworkCore
More information about EF Core Database Providers
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.