Dapper-Plus icon indicating copy to clipboard operation
Dapper-Plus copied to clipboard

Dapper Plus can't map Id when use galera cluster

Open nguyendanvn12 opened this issue 2 years ago • 3 comments

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]

nguyendanvn12 avatar Dec 22 '23 18:12 nguyendanvn12

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

JonathanMagnan avatar Dec 27 '23 19:12 JonathanMagnan

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

JonathanMagnan avatar Jan 03 '24 14:01 JonathanMagnan

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

JonathanMagnan avatar Jan 09 '24 13:01 JonathanMagnan