Syntax
| C# |
|---|
public class HookDispatcher |
The type exposes the following members.
Protected Constructors
| Name | Description | |
|---|---|---|
| HookDispatcherHookDispatcherNew |
Initializes a new instance of the HookDispatcher class.
|
Public Methods
| Name | Description | |
|---|---|---|
| AfterTransactionBegin | (Inherited from EmptyInterceptor.) | |
| AfterTransactionCompletion | (Inherited from EmptyInterceptor.) | |
| BeforeTransactionCompletion | (Inherited from EmptyInterceptor.) | |
| Equals | (Inherited from Object.) | |
| FindDirty |
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>[]()).) | |
| GetHashCode | 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.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Instantiate |
Instantiate the entity class. Return null to indicate that Hibernate should use the default
constructor of the class
(Overrides EmptyInterceptor..::Instantiate(Type, Object).) | |
| IsUnsaved |
Called when a transient entity is passed to SaveOrUpdate.
(Overrides EmptyInterceptor..::IsUnsaved(Object).) | |
| OnDelete |
Called before an object is deleted
(Overrides EmptyInterceptor..::OnDelete(Object, Object, array<Object>[](), array<String>[](), array<IType>[]()).) | |
| OnFlushDirty |
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>[]()).) | |
| OnLoad |
Called just before an object is initialized
(Overrides EmptyInterceptor..::OnLoad(Object, Object, array<Object>[](), array<String>[](), array<IType>[]()).) | |
| OnSave |
Called before an object is saved
(Overrides EmptyInterceptor..::OnSave(Object, Object, array<Object>[](), array<String>[](), array<IType>[]()).) | |
| PostFlush |
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).) | |
| PreFlush |
Called before a flush
(Overrides EmptyInterceptor..::PreFlush(ICollection).) | |
| SetSession | (Inherited from EmptyInterceptor.) | |
| ToString | (Inherited from Object.) |
Protected Methods
| Name | Description | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
Public Properties
| Name | Description | |
|---|---|---|
| Instance |
Gets the sole instance.
|
See Also
Castle.ActiveRecord.Framework Namespace