Syntax

C#
public sealed class ActiveRecordStarter

The type exposes the following members.

Public Constructors

Public Methods

  NameDescription
Public methodStatic memberCreateAnotherFile
Generate a file name based on the original file name specified, using the count to give it some order.
Public methodStatic memberCreateSchemaOverloaded.
Public methodStatic memberCreateSchemaFromFileOverloaded.
Public methodStatic memberDropSchemaOverloaded.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberGenerateCreationScriptsOverloaded.
Public methodStatic memberGenerateDropScriptsOverloaded.
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 memberInitializeOverloaded.
Public methodStatic memberRegisterAssemblies
Registers new assemblies in ActiveRecord Usefull for dynamic assembly-adding after initialization
Public methodStatic memberRegisterTypes
Registers new types in ActiveRecord Usefull for dynamic type-adding after initialization
Public methodStatic memberResetInitializationFlag
Intended to be used only by test cases
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 Events

  NameDescription
Public eventStatic memberModelsCreated
Allows other frameworks to modify the ActiveRecordModel before the generation of the NHibernate XML configuration. As an example, this may be used to rewrite table names to conform to an application-specific standard. Since the configuration source is passed in, it is possible to determine the underlying database type and make changes if necessary.
Public eventStatic memberSessionFactoryHolderCreated
So others frameworks can intercept the creation and act on the holder instance

See Also