Object Relational Mapping in ASP.NET 2.0
page 6 of 7
by Stephen Rylander
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 34140/ 30

Lazy Loading

An aspect of object oriented programming that is simpler to do with an object relational mapper is lazy loading one object type from within another.  For example, if we want to load up the Owner object of an Event object, for instance, the company hosting the event, we can write our lazy load property in the Event object and then simply create an Owner object with the owner id key returned from our Event object load.  In this way your object model can grow and objects maintain a high level of encapsulation.

View Entire Article

User Comments

No comments posted yet.

Product Spotlight
Product Spotlight 

Community Advice: ASP | SQL | XML | Regular Expressions | Windows

©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-04-13 11:37:38 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search