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


The following tables list the members exposed by ObjectContext.

Public Constructors

 NameDescription
Public ConstructorObjectContext Constructor Creates a new instance of the ObjectContext Class.  
Top

Public Properties

 NameDescription
Public PropertyCacheManager Specifies the class that implements the ICacheManager interface.  
Public PropertyConcurrencyManager Specifies the class that implements the IConcurrencyManager interface.  
Public Propertystatic (Shared in Visual Basic)Factory Gets the ObjectContextFactory that allows creating ObjectContext instances by applying a policy. Such as creating a new ObjectContext instance on each call (ASP.NET applications) or for each different thread (Windows applications).  
Public Propertystatic (Shared in Visual Basic)PersistentFactory Gets or sets a class implementing the IPersistentFactory interface.  
Public PropertyPersistentQueriesProviders Gets the list of IPersistentQueriesProviders. An IPersistentQueriesProvider allows to specify the insert, update and delete query statements directly. The framework is going to use these statements (instead of the automatically created ones) when doing inserts, updates and deletes on persistent objects.  
Public PropertyStorage Returns the class that implements the IStorage interface.  
Top

Public Methods

 NameDescription
Public MethodCommit Commits the current transaction.  
Public MethodCreateObjRef (Inherited from System.MarshalByRefObject)
Public MethodGetLifetimeService (Inherited from System.MarshalByRefObject)
Public MethodGetObjectOverloaded.   
Public MethodGetObjectInfo Returns the ObjectInfo object of the given persistent object. The container holds information about the state of the object.  
Public MethodGetObjectListOverloaded.   
Public MethodGetObjectReaderOverloaded.   
Public MethodGeneric GetObjectSearcher Returns a new generic ObjectSearcher class.  
Public MethodGetObjectSetOverloaded.   
Public MethodInitializeLifetimeService (Inherited from System.MarshalByRefObject)
Public MethodIsModified Returns whether the object has been modified since the last operation.  
Public MethodMarkForDeletion Marks a persistent object for deletion.  
Public MethodPersistChangesOverloaded.   
Public MethodReloadOverloaded.   
Public MethodRollback Rolls the current transaction back.  
Public MethodSetObjectState Sets the state of the persistent object to the given ObjectStates.  
Public MethodStartTransactionOverloaded.   
Top

Protected Methods

 NameDescription
Protected MethodDispose Disposes the instance of the ObjectContext.  
Protected MethodFinalizeOverridden.  Destructs a new instance of the ObjectContext Class.  
Protected MethodMemberwiseCloneOverloaded.  (Inherited from System.MarshalByRefObject)
Protected MethodOnDeleted Invoked after an object is deleted from the storage.  
Protected MethodOnDeleting Invoked before an object is deleted in the storage.  
Protected MethodOnInserted Invoked after an object is inserted into the storage.  
Protected MethodOnInserting Invoked before an object is inserted into the storage.  
Protected MethodOnLoaded Invoked after an object is loaded from the storage.  
Protected MethodOnLoading Invokes the event that is fired before an object has been loaded from the storage.  
Protected MethodOnMarkedForDeletion Invoked after an object is marked for deletion in the storage.  
Protected MethodOnMarkingForDeletion Invoked before an object is marked for deletion in the storage.  
Protected MethodOnPersisting Invoked before an object is persisted in the storage.  
Protected MethodOnUpdated Invoked after an object is updated in the storage.  
Protected MethodOnUpdating Invoked before an object is updated in the storage.  
Top

Public Events

 NameDescription
Public EventDeleted Event fired after an object is deleted.  
Public EventDeleting Event fired before an object is deleted.  
Public EventInserted Event fired after an object is inserted.  
Public EventInserting Event fired before an object is inserted.  
Public EventLoaded Event fired after an object is loaded.  
Public EventLoading Event fired before an object is loaded. The persistent is populated after this event has been fired!  
Public EventMarkedForDeletion Event fired after an object is marked for deletion.  
Public EventMarkingForDeletion Event fired before an object is marked for deletion.  
Public EventPersisting Event fired before an object is persisted (inserted, updated or deleted).  
Public EventUpdated Event fired after an object is updated.  
Public EventUpdating Event fired before an object is updated.  
Top

See Also