Skip to content

Conversation

@FrancisGauthier
Copy link

added fluent WithIdentityInsert() with EFSave method in order to deactivate and reactivate Identity insert in an sql database.

added a test project with a test container to run an actual sql server for testing purposes.

Requires docker installed

Need to add test executions in the pipeline/workflow. This can be added in another PR or within this one.

@FrancisGauthier FrancisGauthier changed the title added fluent WithIdentityInsert() method in order to deactivate and reactivate Identity insert in an sql database. added fluent WithIdentityInsert() method in order to deactivate and reactivate Identity insert in an sql database. Added a test project using TestContainers Jul 22, 2023
@FrancisGauthier
Copy link
Author

Hi, its been a while the pr is open. I rebased the code and reverted some code i accidentally pushed in my fork.

Let me know if i can help with anything else. I think this would be a nice addition to this library. We do use that library for a custom ETL in a project and keeping the identity ids is really helpfull. Otherwise we have to disable and reenable identity columns before and after ETL processes

Thanks,

@paillave
Copy link
Owner

paillave commented Aug 5, 2025

Hi @FrancisGauthier thanks for the PR. I will check your PR closely. As this part of the code you changed is very sensitive, I wanted to give me more time to check... but I don't have much of it lol. Can you describe me in more details the problem you want to address with this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants