Closed
Description
openedon Jan 29, 2020
DbContext
and DbSet<TEntity>
both contain AddRange
+AddRangeAsync
pairs but the documentation on all overloads states that AddRangeAsync
should rarely ever been used:
This method is async only to allow special value generators, such as the one used by 'Microsoft.EntityFrameworkCore.Metadata.SqlServerValueGenerationStrategy.SequenceHiLo', to access the database asynchronously. For all other cases the non async method should be used.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment