In NObject O/R Mapping persistence layer, big fields such as Blob, Clob, Text, Image etc., can be set as lazy-load, thus when you are querying, these big fields will be loaded at the first time it is used instead of loaded to cache immediately in order to improve system performance, as follows:
|
// suppose that Photo property of Employee is set as Lazy-Load // ... Employee e = Employee.GetByEmployeeID(om, 1); // ... // e.Photo have not been loaded // ... ShowPhoto(e.Photo); // e.Photo is loaded here |
Related Topics