title: why does entity framework seem to update unchanged entities
body: <p>Posting this here despite having found the solution already so people can find it if anyone has the same problem.</p>
  
  <p>Entity framework seemed to update properties that were only linked to the actually changed entity via navigation properties, which had me quite confused. </p>
  
  <p>A similar example for clarification: Let's take an order for 3 kgs of sugar. That order has an ID, an amount, a product ID giving it a virtual product (sugar), and a customer ID giving it a virtual customer. While saving the order, the customer and the product were getting updated in the DB too.</p>
  
  <p>I was trying to find answers to questions like "why are navigation properties set as modified", "why are unchanged child entities updated too", and so on.</p>