Syntax
| C# |
|---|
[SerializableAttribute] public class HasManyToAnyAttribute |
The type exposes the following members.
Public Constructors
| Name | Description | |
|---|---|---|
| HasManyToAnyAttributeHasManyToAnyAttributeNew |
Initializes a new instance of the HasManyToAnyAttribute class.
|
Public Methods
| Name | Description | |
|---|---|---|
| Equals | Returns a value that indicates whether this instance is equal to a specified object. (Inherited from Attribute.) | |
| GetHashCode | Returns the hash code for this instance. (Inherited from Attribute.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IsDefaultAttribute | When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (Inherited from Attribute.) | |
| Match | When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Inherited from Attribute.) | |
| 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 | |
|---|---|---|
| compositeKeyColumns |
The composite columns
Cannot exist with keyColumn != null
(Inherited from HasManyAttribute.) | |
| customCollectionType |
Provides a custom collection type.
(Inherited from HasManyAttribute.) | |
| fetchMethod |
Whether we do outer join fetching for this collection
(Inherited from HasManyAttribute.) | |
| hasDependentObjects |
Whether the target type is for dependent objects or not
(Inherited from HasManyAttribute.) | |
| keyColumn |
The key column
Cannot exist if compositeKeyColumns has a value
(Inherited from HasManyAttribute.) |
Public Properties
| Name | Description | |
|---|---|---|
| Access |
Gets or sets the access strategy for this property
(Inherited from WithAccessAttribute.) | |
| AccessString |
Gets the access strategy string for NHibernate's mapping.
(Inherited from WithAccessAttribute.) | |
| BatchSize |
From NHibernate documentation:
Specify a "batch size" for batch fetching of collections.
(Inherited from RelationAttribute.) | |
| Cache |
Gets or sets the cache strategy to use for this property
(Inherited from BaseAttribute.) | |
| Cascade |
Gets or sets the cascade options for this RelationAttribute (Inherited from RelationAttribute.) | |
| CollectionType |
Provides a custom collection type.
(Inherited from HasManyAttribute.) | |
| ColumnKey |
Gets or sets the key column name.
(Inherited from HasManyAttribute.) | |
| CompositeKeyColumnKeys |
Gets or sets the names of the column in composite key scenarios.
(Inherited from HasManyAttribute.) | |
| CustomAccess |
Gets or sets the custom access strategy
(Inherited from WithAccessAttribute.) | |
| DependentObjects |
Whether or not the target type is a dependent object.
(Inherited from HasManyAttribute.) | |
| Element |
Use for simple types.
(Inherited from RelationAttribute.) | |
| Fetch |
Chooses between outer-join fetching
or sequential select fetching.
(Inherited from HasManyAttribute.) | |
| IdColumn |
Gets or sets the id column.
| |
| IdType |
Gets or sets the type of the id column
| |
| Index |
Only used with maps or lists
(Inherited from RelationAttribute.) | |
| IndexType |
Only used with maps
(Inherited from RelationAttribute.) | |
| Inverse |
Gets or sets a value indicating whether this RelationAttribute is inverse.
(Inherited from RelationAttribute.) | |
| Lazy |
Gets or sets a value indicating whether this RelationAttribute is lazy.
(Inherited from RelationAttribute.) | |
| MapType |
Gets or sets the type of the map.
(Inherited from RelationAttribute.) | |
| MetaType |
Gets or sets the type of the meta column
| |
| NotFoundBehaviour |
Gets or sets the way broken relations are handled.
(Inherited from RelationAttribute.) | |
| OrderBy |
Gets or sets the order by clause for this relation. This is a SQL order, not HQL.
(Inherited from RelationAttribute.) | |
| RelationType |
Gets or sets the type of the relation.
(Inherited from RelationAttribute.) | |
| Schema |
Gets or sets the schema for this relation (dbo., etc)
(Inherited from RelationAttribute.) | |
| Sort |
Only used with sets. The value can be unsorted, natural and the name of a class implementing System.Collections.IComparer (Inherited from RelationAttribute.) | |
| Table |
Gets or sets the table for this relation
(Inherited from RelationAttribute.) | |
| TypeColumn |
Gets or sets the type column.
| |
| TypeId | When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.) | |
| Where |
Gets or sets the where clause for this relation
(Inherited from RelationAttribute.) |
See Also
Castle.ActiveRecord Namespace