Hook to transform the read data
from the database before populating
the object instance
Namespace: Castle.ActiveRecord
Assembly: Castle.ActiveRecord (in Castle.ActiveRecord.dll)
Version: 1.0.3.0
Syntax
| C# |
|---|
protected internal virtual bool BeforeLoad( Object id, IDictionary adapter ) |
Parameters
- id
- Object
id of the obejct
- adapter
- IDictionary
list of properties and their values
Return Value
Return true if you have changed the state. false otherwise
See Also
ActiveRecordHooksBase Class
Castle.ActiveRecord Namespace