Skip to content

Bug: BulkInsert doesn't use PropertyHandler #1008

Open
@Garios

Description

@Garios

Bug Description

I wrote a PropertyHandler to convert TimeSpan-(Ticks) to (db-)bigint.

On InsertAsync() PropertyHandlers works fine.
On BulkInsertAsync() PropertyHandlers aren't used.

FluentMapper.Entity<TABLE>().PropertyHandler<PropertyHandlerTimeSpan>(p => p.Duration);

Example: RepoDb v1.12.9 (also 1.12.10-beta4) and RepoDb.SqlServer v1.1.4 (1.1.5-beta3) and SqlServer.BulkOperations 1.1.5 (also 1.1.6-beta1)

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or requestknown-bugA known-bug that has been a part of the release.pre-discussedPre-discussed and/or pre-collaborated with the reportedtodoThings to be done in the future

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions