Skip to content

Dapper Plus can't map Id when use galera cluster #138

@nguyendanvn12

Description

@nguyendanvn12

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]

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions