Syntax

C#
[SerializableAttribute]
public abstract class ActiveRecordBase

The type exposes the following methods.

Public Methods

  NameDescription
Public methodStatic memberAsc
Ascending Order
Public methodStatic memberCreateOverloaded.
Public methodStatic memberCreateAndFlushOverloaded.
Public methodStatic memberDeleteOverloaded.
Public methodStatic memberDeleteAndFlushOverloaded.
Public methodStatic memberDesc
Descending Order
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberExecuteQuery
Executes the query.
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 methodStatic memberRefreshOverloaded.
Public methodStatic memberSaveOverloaded.
Public methodStatic memberSaveAndFlushOverloaded.
Public methodStatic memberSaveCopyOverloaded.
Public methodStatic memberSaveCopyAndFlushOverloaded.
Public methodToString
Return the type of the object with its PK value. Useful for logging/debugging
(Overrides Object..::ToString()().)
Public methodStatic memberUpdateOverloaded.
Public methodStatic memberUpdateAndFlushOverloaded.

Protected Methods

  NameDescription
Protected methodBeforeDelete
Hook to perform additional tasks before removing the object instance representation from the database.
(Inherited from ActiveRecordHooksBase.)
Protected methodBeforeLoad
Hook to transform the read data from the database before populating the object instance
(Inherited from ActiveRecordHooksBase.)
Protected methodBeforeSave
Hook to change the object state before saving it.
(Inherited from ActiveRecordHooksBase.)
Protected methodStatic memberCountOverloaded.
Protected methodStatic memberCreateOverloaded.
Protected methodStatic memberCreateAndFlushOverloaded.
Protected methodStatic memberDeleteOverloaded.
Protected methodStatic memberDeleteAllOverloaded.
Protected methodStatic memberDeleteAndFlushOverloaded.
Protected methodStatic memberEnumerateQuery
Enumerates the query Note: only use if you expect most of the values to exist on the second level cache.
Protected methodStatic memberExecuteOverloaded.
Protected methodStatic memberExistsOverloaded.
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 methodStatic memberFindAllOverloaded.
Protected methodStatic memberFindAllByPropertyOverloaded.
Protected methodStatic memberFindByPrimaryKeyOverloaded.
Protected methodFindDirty
Called from Flush(). The return value determines whether the entity is updated
(Inherited from ActiveRecordHooksBase.)
Protected methodStatic memberFindFirstOverloaded.
Protected methodStatic memberFindOneOverloaded.
Protected methodIsUnsaved
Called when a transient entity is passed to SaveOrUpdate.
(Inherited from ActiveRecordHooksBase.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnDelete
Lifecycle method invoked during Delete of the entity
(Inherited from ActiveRecordHooksBase.)
Protected methodOnFlushDirty
(Inherited from ActiveRecordHooksBase.)
Protected methodOnLoad
Lifecycle method invoked during Load of the entity
(Inherited from ActiveRecordHooksBase.)
Protected methodOnSave
Lifecycle method invoked during Save of the entity
(Inherited from ActiveRecordHooksBase.)
Protected methodOnUpdate
Lifecycle method invoked during Update of the entity
(Inherited from ActiveRecordHooksBase.)
Protected methodPostFlush
Called after a flush that actually ends in execution of the SQL statements required to synchronize in-memory state with the database.
(Inherited from ActiveRecordHooksBase.)
Protected methodPreFlush
Called before a flush
(Inherited from ActiveRecordHooksBase.)
Protected methodStatic memberRefreshOverloaded.
Protected methodStatic memberReplicate
From NHibernate documentation: Persist all reachable transient objects, reusing the current identifier values. Note that this will not trigger the Interceptor of the Session.
Protected methodStatic memberSaveOverloaded.
Protected methodStatic memberSaveAndFlushOverloaded.
Protected methodStatic memberSaveCopyOverloaded.
Protected methodStatic memberSaveCopyAndFlushOverloaded.
Protected methodStatic memberSlicedFindAllOverloaded.
Protected methodStatic memberUpdateOverloaded.
Protected methodStatic memberUpdateAndFlushOverloaded.

See Also