You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to (auto) remove items which are NOT present in the database?
E.g. myIds contains 1234 (an Id which doesn't exists in the database).
After executing the BulkRead method, the items list still contains the item... Does EFCore.BulkExtensions provide a bulkConfig to remove the non-existent items?
var items = myIds.Select(tmpId => new Item() { Id = tmpId }).ToList();
var bulkConfig = new BulkConfig { SetOutputIdentity = true, SqlBulkCopyOptions = SqlBulkCopyOptions.KeepIdentity};
_context.BulkRead(items, bulkConfig);
The text was updated successfully, but these errors were encountered:
Is it possible to (auto) remove items which are NOT present in the database?
E.g.
myIds
contains 1234 (an Id which doesn't exists in the database).After executing the BulkRead method, the items list still contains the item...
Does EFCore.BulkExtensions provide a bulkConfig to remove the non-existent items?
The text was updated successfully, but these errors were encountered: