Home > Sample code lazy loading

Lazy loading in entity framework

One of the biggest issue when we use entity framework that is when we request for one single table you will get all related tables in table object. for example: [crayon-673719906ce85347990951/]  in above code you will get all related tables in company object. We can avoid this using Lazy loading. for example: [crayon-673719906ce8c182162690/]  in this case you can get only

This Article is TAGGED in , , , , , . Read more