Syntax

C#
[SerializableAttribute]
public class ActiveRecordModel

The type exposes the following members.

Public Constructors

  NameDescription
Public methodActiveRecordModelActiveRecordModelNew
Initializes a new instance of the ActiveRecordModel class.

Public Methods

  NameDescription
Public methodAccept
Accepts the specified visitor and call the relevant IVisitor.Visit***() method
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 methodStatic memberGetModel
Gets the ActiveRecordModel for a given ActiveRecord class.
Public methodStatic memberGetModels
Gets an array containing the ActiveRecordModel for every registered ActiveRecord class.
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 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.)

Protected Fields

  NameDescription
Protected fieldStatic memberisDebug
Whatever Active Record will generate debug information or not
Protected fieldStatic memberisLazyByDefault
Whatever types that does not explicitly state that they are lazy should be lazy.
Protected fieldStatic memberpluralizeTableNames
Whether the default inferred table name is plural
Protected fieldStatic membertype2Model
The mapping between a type and a model

Public Properties

  NameDescription
Public propertyActiveRecordAtt
Gets or sets the active record attribute
Public propertyAnys
Gets the list of [any] model
Public propertyBelongsTo
Gets the list of [belongs to] models
Public propertyClasses
Gets the list of the derived classes
Public propertyCollectionIDs
Gets the list of [collection id] models
Public propertyComponentParent
If the object is a component, will return the objects declared parent property. There should only be one, but implemented as a list
Public propertyComponents
Gets the list of components.
Public propertyCompositeKey
For Composite Primary keys
Public propertyCompositeUserType
Gets the composite user types properties.
Public propertyFields
Gets all the fields
Public propertyHasAndBelongsToMany
Gets the list of [has and belongs to many] models
Public propertyHasMany
Gets the list of [has many] models
Public propertyHasManyToAny
Gets the list of [has many to any] models
Public propertyHilos
Gets the list of [hilo] models
Public propertyImports
Gets all the imports
Public propertyIsDiscriminatorBase
Gets or sets a value indicating whether this instance is discriminator base.
Public propertyIsDiscriminatorSubClass
Gets or sets a value indicating whether this instance is discriminator sub class.
Public propertyIsJoinedSubClass
Gets or sets a value indicating whether this instance is joined sub class.
Public propertyIsJoinedSubClassBase
Gets or sets a value indicating whether this instance is joined sub class base.
Public propertyIsNestedCompositeType
Gets or sets a value indicating whether this instance is nested type.
Public propertyIsNestedType
Gets or sets a value indicating whether this instance is nested type.
Public propertyJoinedClasses
Gets the list of derived joined classes.
Public propertyKey
Used only by joined subclasses
Public propertyNotMappedProperties
Gets the list of properties not mapped .
Public propertyOneToOnes
Gets the list of [one to one] models
Public propertyParent
Gets or sets the parent model
Public propertyPrimaryKey
For unique Primary keys
Public propertyProperties
Gets all the properties
Public propertyTimestamp
Gets or sets the timestamp model
Public propertyType
Gets the type for this model
Public propertyUseAutoImport
Gets a value indicating whether to use auto import
Public propertyValidators
Gets the validators.
Public propertyVersion
Gets or sets the version model

See Also