Using SPAN to query entities in Entity Framework

By default, when querying entities, you need to explicitly use the Load method to get related data. This is often called “lazy loading” and ensure you only get what you ask for rather than having a query return ALL related data automatically. The new SPAN method forces an entity to include specifid children during a query so that you don’t have to load after the fact. READ MORE

[A New DevLife post]

 

  Sign up for my newsletter so you don't miss my conference & Pluralsight course announcements!  

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.