Pomelo.EntityFrameworkCore.MySql
Pomelo.EntityFrameworkCore.MySql copied to clipboard
Entity Framework Core provider for MySQL and MariaDB built on top of MySqlConnector
### Steps to reproduce Have a model with a `List` property like below ```java public class RealDeduction { [DatabaseGenerated(DatabaseGeneratedOption.Identity)] [Key] public string Id { get; set; } public List? Branches...
### Steps to reproduce Have a simple database table with a datetime(6) column ```sql CREATE TABLE `t` ( `Date` datetime(6) ) ``` with an associated model ```cs public class TableModel...
### Steps to reproduce Let's create a test case: ``` CREATE DATABASE a; USE a; CREATE TABLE `test` ( `id` int(11) NOT NULL AUTO_INCREMENT, `parent` int(11) DEFAULT NULL, PRIMARY KEY...
Describe the bug I'm using Pomelo.EntityFrameworkCore.MySql version 6.0.3 and Microsoft.EntityFrameworkCore version 6.0.28. I've configured my entity to use a specific schema with ToTable, but the generated SQL does not include...
Starting from MySQL 8.4.0, the default authentication plugin is' caching_sha2_password ', while the' mysql_cative_password 'authentication plugin is no longer enabled by default. How can I use the' caching_sha2_password 'plugin to...
### Steps to reproduce Create a table with a timestamp column: ### The issue The returned value of ToQueryString is not exactly what is going to be executed on database....
### Steps to reproduce Use this project as example [MySql.Hang.Test.zip](https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql/files/15389812/MySql.Hang.Test.zip) I am using this `Dockerfile`: ``` FROM mcr.microsoft.com/dotnet/aspnet:8.0-jammy AS base WORKDIR /app EXPOSE 80 EXPOSE 443 FROM mcr.microsoft.com/dotnet/sdk:8.0-jammy AS build...
### Steps to reproduce **I tried to upgrade the .net6 project to .net8 to use the latest package, but after the upgrade, an error occurred when inserting data. I checked...
When mapping a JSON Object using Pomelo.EntityFrameworkCore.MySql 8.02, you must provide your own `.HasConversion` if you want your project to build after running dotnet-ef to generate compiled models. I posted...
## File a bug ### Include your code Create a context, a database, and models. Then make a difference between the database and the EF Core model. Then run any...