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

Update BulkUpsertAsync extension method with EFCore.BulkExtensions package #5005

Merged
merged 1 commit into from Feb 28, 2024

Conversation

sfmskywalker
Copy link
Member

@sfmskywalker sfmskywalker commented Feb 26, 2024

This PR replaces the custom, potentially buggy, bulk upsert implementation by leveraging the battle-tested EFCore.BulkExtensions.MIT package.

Hopefully fixes #4982

The changes involve turning off the use of Dapper in Elsa.Server.Web project for database operations. In addition, the `EFCore.BulkExtensions.MIT` has been added in the Elsa.EntityFrameworkCore.Common project as a package reference. The BulkUpsertAsync function has been refactored to utilize the BulkInsertOrUpdateAsync function provided by the BulkExtensions package, streamlining the operation. The related package versions have also been introduced in the Directory.Packages.props file.
@sfmskywalker sfmskywalker requested review from a team February 26, 2024 19:00
@sfmskywalker sfmskywalker added bug Something isn't working elsa 3 This issue is specific to Elsa 3 labels Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working elsa 3 This issue is specific to Elsa 3
Projects
None yet
3 participants