mikependon / RepoDB

A hybrid ORM library for .NET.
Apache License 2.0
1.7k stars 125 forks source link

Fixed bug with keep identity flag in BulkInsert and BulkMerge operations #1182

Closed dendism closed 1 month ago

dendism commented 2 months ago

Hi @mikependon, I've prepared a PR for #1037, although I don't know if it's ready for production. Better test and/or edit it before merging it into your branch. I tested my use case and it worked so I hope it's ok. I also modified the BulkInsert operation in the same way as BulkMerge, although BulkInsert seems to be more complicated (with all those pseudo tables) so it definitely needs some testing :)

mikependon commented 1 month ago

Very nice PR. All our Integration Tests are passing. Will soon to write test suitea for this. Neat and clean. Thanks mate.