Chili.Opf3 Send comments on this topic.
Generic ObjectHolder Class Members
See Also  Properties  Methods  Events
Chili.Opf3.Relations Namespace : Generic ObjectHolder Class


The following tables list the members exposed by Generic ObjectHolder.

Public Constructors

 NameDescription
Public ConstructorObjectHolder ConstructorOverloaded.   
Top

Public Properties

 NameDescription
Public PropertyInnerObject Gets and sets the persistent object that is related to the parent object.  
Public PropertyQuery Specifies the IQuery associated with the ObjectHolder. (Inherited from ObjectHolderBase)
Top

Protected Properties

 NameDescription
Protected PropertyContext Specifies the ObjectContext associated with the ObjectHolder. The ObjectContext is used to load the related objects from the storage. (Inherited from ObjectHolderBase)
Protected PropertyParent Specifies the parent persistent object of the ObjectHolder. (Inherited from ObjectHolderBase)
Protected PropertyRelationAttribute Specifies the RelationAttribute associated with the ObjectHolder. The attribute specifies the relation between the related objects and the parent object. (Inherited from ObjectHolderBase)
Top

Public Methods

 NameDescription
Public MethodGetObjectData 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)
Public MethodInvalidate Invalidates the current instance. The next request reloads all the related objects. (Inherited from ObjectHolderBase)
Top

Protected Methods

 NameDescription
Protected MethodUpdateConnectedProperty Updates the connected property. This is done after a save to the storage. (Inherited from ObjectHolderBase)
Top

Public Events

 NameDescription
Public EventFetchingStorageRecord Event is fired before the data from the storage is used to populate an object.  
Top

See Also