How many InsertOnSubmit
should I call before calling SubmitChanges
? I'm adding data from a web service that can return tens of thousands of records one record at a time. The wrapper class around the web service exposes the records a an IEnumberable
collection to hide an elaborate chunking mechanism.
Are there guidelines on how many inserts I should accumulate before submitting them?