Table of Contents

GR0048: Do not use Entity Framework DbSet.UpdateRange.

TitleDo not use Entity Framework DbSet<T>.UpdateRange.
IdGR0048
CategoryDesign
Default SeverityWarning
Enabled By DefaultTrue
DescriptionUpdateRange should not be used in an Application. It invalidates the entire poco object. Just select the desired entities, update the relevant properties and call SaveChangesAsync.
Custom Tags