Syntax

C#
[SerializableAttribute]
public abstract class ActiveRecordHooksBase

The type exposes the following members.

Protected Constructors

Public Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
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 methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Protected Methods

  NameDescription
Protected methodBeforeDelete
Hook to perform additional tasks before removing the object instance representation from the database.
Protected methodBeforeLoad
Hook to transform the read data from the database before populating the object instance
Protected methodBeforeSave
Hook to change the object state before saving it.
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 methodFindDirty
Called from Flush(). The return value determines whether the entity is updated
Protected methodIsUnsaved
Called when a transient entity is passed to SaveOrUpdate.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnDelete
Lifecycle method invoked during Delete of the entity
Protected methodOnFlushDirty
Protected methodOnLoad
Lifecycle method invoked during Load of the entity
Protected methodOnSave
Lifecycle method invoked during Save of the entity
Protected methodOnUpdate
Lifecycle method invoked during Update of the entity
Protected methodPostFlush
Called after a flush that actually ends in execution of the SQL statements required to synchronize in-memory state with the database.
Protected methodPreFlush
Called before a flush

See Also