Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPropertyHandler Set not triggered for BulkInsert operation #41

Open
Trobeloo opened this issue Dec 10, 2021 · 2 comments
Open

IPropertyHandler Set not triggered for BulkInsert operation #41

Trobeloo opened this issue Dec 10, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@Trobeloo
Copy link

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.

@Trobeloo Trobeloo added the bug Something isn't working label Dec 10, 2021
@mikependon
Copy link
Owner

Yes, this is not triggered on the Bulk Operations yet (both SQL Server and PostgreSQL). This is on our timeline.

@Trobeloo
Copy link
Author

Ok good to know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants