This post explains the use of the virtual keyword for navigation class properties in EF Core and how it relates to lazy loading.
Table of contents
EF Core Application SetupEF Core Lazy Loading With Virtual Navigation and ProxiesConclusionSort: