Dapper Plus can't map Id when use galera cluster
Description
Setup Dapper Plus:
DapperPlusManager
.Entity<WorkShiftEntity>()
.Table("WorkShifts")
.Identity(x => x.Id, true);
await tran.BulkActionAsync(x => x.BulkInsert(list));
then insert:
Exception
Dapper only map 1/3 number id of list
Further technical details
- Dapper version: [Dapper v2.1.15]
- Dapper Plus version: [Dapper Plus v7.2.1]
- Database Server version: [galera cluster with mariadb 10.5]
- Database Provider version (NuGet): [MysqlConnector 2.2.5]
Hello @nguyendanvn12 ,
Do you think you could create a runnable project with the issue? It doesn’t need to be your project, just a new solution with the minimum code to reproduce the issue. You can send it in private here: [email protected]
We currently don't have enough information to reproduce it. On our side, everything is inserted as expected.
Best Regards,
Jon
Hello @nguyendanvn12,
Since our last conversation, we haven't heard from you.
As previously mentioned we would need a runnable project to be able to assist you.
Let me know if you have any questions.
Best regards, Jon
Hello @nguyendanvn12,
A simple reminder that we are here to assist you.
As previously mentioned we would need a runnable project.
Don't hesitate to contact us if you still need help.
Best regards, Jon