Syntax

C#
[SerializableAttribute]
public class ActiveRecordAttribute

The type exposes the following members.

Public Constructors

  NameDescription
Public methodActiveRecordAttributeActiveRecordAttributeNewOverloaded.

Public Methods

  NameDescription
Public methodEquals
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from Attribute.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsDefaultAttribute
When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute.)
Public methodMatch
When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute.)
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 Properties

  NameDescription
Public propertyAccess
Gets or sets the access strategy for this property
(Inherited from WithAccessAttribute.)
Public propertyAccessString
Gets the access strategy string for NHibernate's mapping.
(Inherited from WithAccessAttribute.)
Public propertyBatchSize
From NHibernate documentation: Specify a "batch size" for fetching instances of this class by identifier.
Public propertyCache
Gets or sets the cache strategy to use for this property
(Inherited from BaseAttribute.)
Public propertyCustomAccess
Gets or sets the custom access strategy
(Inherited from WithAccessAttribute.)
Public propertyDiscriminatorColumn
Gets or sets the Discriminator column for a table inheritance modeling
Public propertyDiscriminatorType
Gets or sets the column type (like string or integer) for the discriminator column
Public propertyDiscriminatorValue
Gets or sets the value that represents the target class on the discriminator column
Public propertyDynamicInsert
From NHibernate documentation: Specifies that INSERT SQL should be generated at runtime and contain only the columns whose values are not null.
Public propertyDynamicUpdate
From NHibernate documentation: Specifies that UPDATE SQL should be generated at runtime and contain only those columns whose values have changed.
Public propertyLazy
Enable lazy loading for the type
Public propertyLazySpecified
Gets a value indicating whether explicit lazy behavior was specified. If explicit lazy behavior was not specified, it goes to the configuration to decide if the type should be lazy or not.
Public propertyLocking
From NHibernate documentation: Determines the optimistic locking strategy.
Public propertyMutable
From NHibernate documentation: Specifies that instances of the class are (not) mutable.
Public propertyPersister
From NHibernate documentation: Specifies a custom IEntityPersister.
Public propertyPolymorphism
From NHibernate documentation: Determines whether implicit or explicit query polymorphism is used.
Public propertyProxy
Associates a proxy type with the target type
Public propertySchema
Gets or sets the schema name associated with the type
Public propertySelectBeforeUpdate
From NHibernate documentation: Specifies that NHibernate should never perform an SQL UPDATE unless it is certain that an object is actually modified. In certain cases (actually, only when a transient object has been associated with a new session using update()), this means that NHibernate will perform an extra SQL SELECT to determine if an UPDATE is actually required.
Public propertyTable
Gets or sets the table name associated with the type
Public propertyTypeId
When implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute.)
Public propertyUseAutoImport
From NHibernate documentation: The auto-import attribute lets us use unqualified class names in the query language, by default. The assembly and namespace attributes specify the assembly where persistent classes are located and the namespace they are declared in.
Public propertyWhere
SQL condition to retrieve objects

See Also