Skip to content

Third_Experiment

Choose a tag to compare

@jrcs3 jrcs3 released this 10 Dec 02:47
· 2 commits to master since this release

SyncFileToDbEFManuallyFilter

Experiment using Entity Framework (EF) breaking the changes into the same 4 groups and making the changes with EF and
calling SaveChanges()

Results in one query to the database for updates, I did have to do some tweeking to avoid additional queries when
issuing the EF command earlier in the process.

The perf was slower than SyncFileToDbAdoNet for this small sample size, but since there are fewer SQL exchanges, it may
perform better for larger batch sizes.