AVEVA Database .NET Public Interface

DbEvents Members

DbEvents overview

Public Static Methods

AddClaimedEventHandler Add delegate to capture claim actions
AddClearCacheEventHandler Add delegate to clear any cached data. This will be called after doing a temporary switch to a different session in a DB, or after doing a getwork, undo, redo, quit. N.B. ClearCache may be called 1000s of times within a single operation. Thus any handlers must be fast.
AddCommitPendingEventHandler Add delegate to commit any pending DB changes prior to savework, setmark, undo, redo, quit, getwork
AddDBFileChangedEventHandler Add post event delegate to capture changes made to the database file. Operations are Savework, Flush, Refresh, or drop
AddDBFileChangesAllowed Add delegate to check if operation is allowed
AddDBFileChangingEventHandler Add pre event delegate to capture changes made to the database file. Operations are Savework, Flush, Refresh, or drop
AddFailedEventHandler Add delegate to capture failures at savework
AddHandleUserChanges Add delegate to capture all database changes made by user. For performance reasons, this event is only raised when focus is returned to the end user. e.g. at the end of running a PML macro, or after hitting the 'Apply' button. Internally a list of changes is built up. This list is then passed to the subscribers.
AddLocalChangedEventHandler Add post event delegate to capture changes made to user's current view. Operations are getwork, undo, redo, quit
AddLocalChangingEventHandler Add pre event delegate to capture changes made to user's current view. Operations are getwork, undo, redo, quit
AddReleasedEventHandler Add delegate to capture release (unclaim) actions

Public Instance Constructors

DbEvents Constructor Initializes a new instance of the DbEvents class.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

DbEvents Class | Aveva.Pdms.Database Namespace