When I insert the code on Step 40, it overwrites the using statements rather than the data operation. I think it's supposed to replace this:
var veggieSpecial = context.Products
.Where(p => p.Name == "Veggie Special Pizza")
.FirstOrDefault();
if (veggieSpecial is Product)
{
context.Remove(veggieSpecial);
}
When I insert the code on Step 40, it overwrites the using statements rather than the data operation. I think it's supposed to replace this:
I think these are the values that need to be updated: https://github.com/MicrosoftDocs/ef-core-for-beginners/blob/e3a2896253f8f589622f2fd47233cb668647d64b/.tours/1-getting-started.tour#L441