RepoDB
RepoDB copied to clipboard
Bug: BulkInsert doesn't use PropertyHandler
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)
Somebody place this issue on our RepoDB.NET site. Referencing: https://github.com/mikependon/RepoDB.NET/issues/41
Yes, this is not triggered on the Bulk Operations yet (both SQL Server and PostgreSQL). This is on our timeline.
oh, I didn't realized that there is another repo. Thank you!
This is the right place, the other repo is for the documentation site.
Would be great to have this enhancement. I ran into it a few moments ago.