Syntax

C#
public class HookDispatcher

The type exposes the following members.

Protected Constructors

  NameDescription
Protected methodHookDispatcherHookDispatcherNew
Initializes a new instance of the HookDispatcher class.

Public Methods

  NameDescription
Public methodAfterTransactionBegin (Inherited from EmptyInterceptor.)
Public methodAfterTransactionCompletion (Inherited from EmptyInterceptor.)
Public methodBeforeTransactionCompletion (Inherited from EmptyInterceptor.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodFindDirty
Called from Flush(). The return value determines whether the entity is updated
(Overrides EmptyInterceptor..::FindDirty(Object, Object, array<Object>[](), array<Object>[](), array<String>[](), array<IType>[]()).)
Public methodGetHashCode
Serves as a hash function for a particular type. GetHashCode()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInstantiate
Instantiate the entity class. Return null to indicate that Hibernate should use the default constructor of the class
(Overrides EmptyInterceptor..::Instantiate(Type, Object).)
Public methodIsUnsaved
Called when a transient entity is passed to SaveOrUpdate.
(Overrides EmptyInterceptor..::IsUnsaved(Object).)
Public methodOnDelete
Called before an object is deleted
(Overrides EmptyInterceptor..::OnDelete(Object, Object, array<Object>[](), array<String>[](), array<IType>[]()).)
Public methodOnFlushDirty
Called when an object is detected to be dirty, during a flush.
(Overrides EmptyInterceptor..::OnFlushDirty(Object, Object, array<Object>[](), array<Object>[](), array<String>[](), array<IType>[]()).)
Public methodOnLoad
Called just before an object is initialized
(Overrides EmptyInterceptor..::OnLoad(Object, Object, array<Object>[](), array<String>[](), array<IType>[]()).)
Public methodOnSave
Called before an object is saved
(Overrides EmptyInterceptor..::OnSave(Object, Object, array<Object>[](), array<String>[](), array<IType>[]()).)
Public methodPostFlush
Called after a flush that actually ends in execution of the SQL statements required to synchronize in-memory state with the database.
(Overrides EmptyInterceptor..::PostFlush(ICollection).)
Public methodPreFlush
Called before a flush
(Overrides EmptyInterceptor..::PreFlush(ICollection).)
Public methodSetSession (Inherited from EmptyInterceptor.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Protected Methods

  NameDescription
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)

Public Properties

  NameDescription
Public propertyStatic memberInstance
Gets the sole instance.

See Also