5 - Lazy Loading in Entity Framework

Published: 08 April 2019
on channel: Code Semantic
18,008
184

Lazy loading means delaying the loading of related data, until you specifically request for it.
For lazy loading Navigation property should be defined as public and virtual. Context class will not do lazy loading if property is not defined as virtual.
Lazy loading is default phenomenon.
When using POCO entity types, lazy loading is achieved by creating instance of derived proxy types and then overriding virtual properties.


Watch video 5 - Lazy Loading in Entity Framework online without registration, duration hours minute second in high quality. This video was added by user Code Semantic 08 April 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 18,008 once and liked it 184 people.