Syntax
| C# |
|---|
public sealed class ActiveRecordStarter |
The type exposes the following members.
Public Constructors
| Name | Description | |
|---|---|---|
| ActiveRecordStarterActiveRecordStarterNew |
Public Methods
| Name | Description | |
|---|---|---|
| CreateAnotherFile |
Generate a file name based on the original file name specified, using the
count to give it some order.
| |
| CreateSchema | Overloaded. | |
| CreateSchemaFromFile | Overloaded. | |
| DropSchema | Overloaded. | |
| Equals | (Inherited from Object.) | |
| GenerateCreationScripts | Overloaded. | |
| GenerateDropScripts | Overloaded. | |
| 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.) | |
| Initialize | Overloaded. | |
| RegisterAssemblies |
Registers new assemblies in ActiveRecord
Usefull for dynamic assembly-adding after initialization
| |
| RegisterTypes |
Registers new types in ActiveRecord
Usefull for dynamic type-adding after initialization
| |
| ResetInitializationFlag |
Intended to be used only by test cases
| |
| 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 Events
| Name | Description | |
|---|---|---|
| ModelsCreated |
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.
| |
| SessionFactoryHolderCreated |
So others frameworks can intercept the
creation and act on the holder instance
|
See Also
Castle.ActiveRecord Namespace