Ask Your Question

Revision history [back]

It is recommended to use the SaveChanges() method after generating a batch of entities, such as after importing a certain number of records or after processing a certain number of entities. This helps to improve performance and reduces the risk of data loss in case of a failure. You can experiment with different batch sizes to find the optimal batch size for your particular scenario.