Syntax

C#
[SerializableAttribute]
public class HasAndBelongsToManyAttribute

The type exposes the following members.

Public Constructors

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 batch fetching of collections.
(Inherited from RelationAttribute.)
Public propertyCache
Gets or sets the cache strategy to use for this property
(Inherited from BaseAttribute.)
Public propertyCascade
Gets or sets the cascade options for this RelationAttribute
(Inherited from RelationAttribute.)
Public propertyCollectionType
Provides a custom collection type.
Public propertyColumnKey
Gets or sets the key column name
Public propertyColumnRef
Gets or sets the column that represent the other side on the assoication table
Public propertyCompositeKeyColumnKeys
Gets or sets the composite key columns names.
Public propertyCompositeKeyColumnRefs
Gets or sets the composite key columns that represent the other side on the assoication table
Public propertyCustomAccess
Gets or sets the custom access strategy
(Inherited from WithAccessAttribute.)
Public propertyElement
Use for simple types.
(Inherited from RelationAttribute.)
Public propertyFetch
Chooses between outer-join fetching or sequential select fetching.
Public propertyIndex
Only used with maps or lists
(Inherited from RelationAttribute.)
Public propertyIndexType
Only used with maps
(Inherited from RelationAttribute.)
Public propertyInverse
Gets or sets a value indicating whether this RelationAttribute is inverse.
(Inherited from RelationAttribute.)
Public propertyLazy
Gets or sets a value indicating whether this RelationAttribute is lazy.
(Inherited from RelationAttribute.)
Public propertyMapType
Gets or sets the type of the map.
(Inherited from RelationAttribute.)
Public propertyNotFoundBehaviour
Gets or sets the way broken relations are handled.
(Inherited from RelationAttribute.)
Public propertyOrderBy
Gets or sets the order by clause for this relation. This is a SQL order, not HQL.
(Inherited from RelationAttribute.)
Public propertyRelationType
Gets or sets the type of the relation.
(Inherited from RelationAttribute.)
Public propertySchema
Gets or sets the schema for this relation (dbo., etc)
(Inherited from RelationAttribute.)
Public propertySort
Only used with sets. The value can be unsorted, natural and the name of a class implementing System.Collections.IComparer
(Inherited from RelationAttribute.)
Public propertyTable
Gets or sets the table for this relation
(Inherited from RelationAttribute.)
Public propertyTypeId
When implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute.)
Public propertyWhere
Gets or sets the where clause for this relation
(Inherited from RelationAttribute.)

See Also