Syntax
| C# |
|---|
[SerializableAttribute] public class ActiveRecordModel |
The type exposes the following members.
Public Constructors
| Name | Description | |
|---|---|---|
| ActiveRecordModelActiveRecordModelNew |
Initializes a new instance of the ActiveRecordModel class.
|
Public Methods
| Name | Description | |
|---|---|---|
| Accept |
Accepts the specified visitor and call the relevant IVisitor.Visit***() method
| |
| Equals | (Inherited from Object.) | |
| 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.) | |
| GetModel |
Gets the ActiveRecordModel for a given ActiveRecord class.
| |
| GetModels |
Gets an array containing the ActiveRecordModel for every registered ActiveRecord class.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| 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.) |
Protected Fields
| Name | Description | |
|---|---|---|
| isDebug |
Whatever Active Record will generate debug information or not
| |
| isLazyByDefault |
Whatever types that does not explicitly state that they are lazy should be lazy.
| |
| pluralizeTableNames |
Whether the default inferred table name is plural
| |
| type2Model |
The mapping between a type and a model
|
Public Properties
| Name | Description | |
|---|---|---|
| ActiveRecordAtt |
Gets or sets the active record attribute
| |
| Anys |
Gets the list of [any] model
| |
| BelongsTo |
Gets the list of [belongs to] models
| |
| Classes |
Gets the list of the derived classes
| |
| CollectionIDs |
Gets the list of [collection id] models
| |
| ComponentParent |
If the object is a component, will return the objects declared parent property.
There should only be one, but implemented as a list
| |
| Components |
Gets the list of components.
| |
| CompositeKey |
For Composite Primary keys
| |
| CompositeUserType |
Gets the composite user types properties.
| |
| Fields |
Gets all the fields
| |
| HasAndBelongsToMany |
Gets the list of [has and belongs to many] models
| |
| HasMany |
Gets the list of [has many] models
| |
| HasManyToAny |
Gets the list of [has many to any] models
| |
| Hilos |
Gets the list of [hilo] models
| |
| Imports |
Gets all the imports
| |
| IsDiscriminatorBase |
Gets or sets a value indicating whether this instance is discriminator base.
| |
| IsDiscriminatorSubClass |
Gets or sets a value indicating whether this instance is discriminator sub class.
| |
| IsJoinedSubClass |
Gets or sets a value indicating whether this instance is joined sub class.
| |
| IsJoinedSubClassBase |
Gets or sets a value indicating whether this instance is joined sub class base.
| |
| IsNestedCompositeType |
Gets or sets a value indicating whether this instance is nested type.
| |
| IsNestedType |
Gets or sets a value indicating whether this instance is nested type.
| |
| JoinedClasses |
Gets the list of derived joined classes.
| |
| Key |
Used only by joined subclasses
| |
| NotMappedProperties |
Gets the list of properties not mapped .
| |
| OneToOnes |
Gets the list of [one to one] models
| |
| Parent |
Gets or sets the parent model
| |
| PrimaryKey |
For unique Primary keys
| |
| Properties |
Gets all the properties
| |
| Timestamp |
Gets or sets the timestamp model
| |
| Type |
Gets the type for this model
| |
| UseAutoImport |
Gets a value indicating whether to use auto import
| |
| Validators |
Gets the validators.
| |
| Version |
Gets or sets the version model
|