Skip to content

IPropertyHandler Set not triggered for BulkInsert operation #41

Open
@Trobeloo

Description

@Trobeloo

I have an entity with an enum property that is saved as a string in the database. Because the database string contains space and diacrtitics signs I have created an IPropertyHandler that maps between the string and the enum both for Set and Get.
It works well if I read and write single records but if I use the BulkInsert function the correct string is not saved instead it is the enum part.
Is it normal?

I am using RepoDb.SqlServer.BulkOperations 1.1.6-beta1 on Windows 11 VS 2022.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions