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


The following tables list the members exposed by ObjectHolderBase.

Protected Constructors

 NameDescription
Protected ConstructorObjectHolderBase ConstructorOverloaded.   
Top

Public Properties

 NameDescription
Public PropertyQuery Specifies the IQuery associated with the ObjectHolder.  
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.  
Protected PropertyParent Specifies the parent persistent object of the ObjectHolder.  
Protected PropertyRelationAttribute Specifies the RelationAttribute associated with the ObjectHolder. The attribute specifies the relation between the related objects and the parent object.  
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.  
Public MethodInvalidate Invalidates the current instance. The next request reloads all the related objects.  
Top

Protected Methods

 NameDescription
Protected MethodUpdateConnectedProperty Updates the connected property. This is done after a save to the storage.  
Top

See Also