The following tables list the members exposed by Generic ObjectHolder.
| Name | Description | |
|---|---|---|
| ObjectHolder Constructor | Overloaded. |
| Name | Description | |
|---|---|---|
| InnerObject | Gets and sets the persistent object that is related to the parent object. | |
| Query | Specifies the IQuery associated with the ObjectHolder. (Inherited from ObjectHolderBase) |
| Name | Description | |
|---|---|---|
| Context | Specifies the ObjectContext associated with the ObjectHolder. The ObjectContext is used to load the related objects from the storage. (Inherited from ObjectHolderBase) | |
| Parent | Specifies the parent persistent object of the ObjectHolder. (Inherited from ObjectHolderBase) | |
| RelationAttribute | Specifies the RelationAttribute associated with the ObjectHolder. The attribute specifies the relation between the related objects and the parent object. (Inherited from ObjectHolderBase) |
| Name | Description | |
|---|---|---|
| GetObjectData | Create a backup of the object in the session. We do this to not blow up the ViewState in ASP.Net applications. When serializing the object in the ViewState we would also send the ObjectContext and other classes such as the storage to the ViewState. (Inherited from ObjectHolderBase) | |
| Invalidate | Invalidates the current instance. The next request reloads all the related objects. (Inherited from ObjectHolderBase) |
| Name | Description | |
|---|---|---|
| UpdateConnectedProperty | Updates the connected property. This is done after a save to the storage. (Inherited from ObjectHolderBase) |
| Name | Description | |
|---|---|---|
| FetchingStorageRecord | Event is fired before the data from the storage is used to populate an object. |