Skip to content
bfanger edited this page Apr 19, 2013 · 2 revisions

Lazy loading in Sledgehammer ORM is implemented via Placeholder classes.

The placeholder objects are as placed on properties that point to other models (aka the relations)

When a placeholder object is accessed, the object is replaced in the object that contained the placeholder.

HasManyPlaceholder

Points to a Collection of models.

BelongsToPlaceholder

Point to a single model.

Clone this wiki locally