I'm using EF extension to do BulkSaveChanges
, and I'm using SQLite, everything works perfectly, fast saving, etc. The problem I'm having is that when saving Guids, it's as if BulkSaveChanges
is converting the Guids to TEXT first before saving, but the data type is BLOB, then when retrieved from the database through DbContext, GUIDs are not recognizable, my theory is that because the data is converted and the fact that the data type is BLOB, EF, couldn't convert it back to Guids implicitly.
Moreover, when using the EF's .SaveChanges
, everything is preserved, also retrieval is okay, but .SaveChanges
is slow.
Any help will be greatly appreciated.
So here's the link to the extension: https://entityframework-extensions.net/bulk-savechanges
Here's some screenshots of data being saved with .SaveChanges vs. .BulkSaveChanges
Saved with .SaveChanges:
Saved with .BulkSaveChanges: