EntityFramework.Docs icon indicating copy to clipboard operation
EntityFramework.Docs copied to clipboard

context.SaveChanges(); statement duplicated

Open vcrobe opened this issue 6 years ago • 1 comments

It's used in both method of the class BlogServiceTests but the method BusinessLogic.BlogService.Add(string url) also use context.SaveChanges();


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

vcrobe avatar Jan 29 '20 17:01 vcrobe

The same happens in this topic https://docs.microsoft.com/en-us/ef/core/miscellaneous/testing/in-memory

vcrobe avatar Jan 29 '20 17:01 vcrobe