The CollectionType type exposes the following members.

Constructors

  NameDescription
CollectionType
Initializes a new instance of a CollectionType class for a specific role.

Methods

  NameDescription
Add
Assemble (Overrides AbstractType..::.Assemble(Object, ISessionImplementor, Object).)
Clear
CopyElement
DeepCopy (Overrides AbstractType..::.DeepCopy(Object).)
Disassemble (Overrides AbstractType..::.Disassemble(Object, ISessionImplementor).)
EqualsOverloaded.
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.)
FromString (Overrides AbstractType..::.FromString(String).)
GetAssociatedClass
GetAssociatedJoinable
GetColumnSpan (Overrides AbstractType..::.GetColumnSpan(IMapping).)
GetElementsCollection
Returns a reference to the elements in the collection.
GetElementType
GetHashCodeOverloaded.
GetKeyOfOwner
Get the key value from the owning entity instance, usually the identifier, but might be some other unique key, in the case of property-ref
GetOnCondition
GetReferencedColumns
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Hydrate (Overrides AbstractType..::.Hydrate(IDataReader, array<String>[]()[], ISessionImplementor, Object).)
InstantiateOverloaded.
InstantiateResult
IsDatabaseNull
Determines whether the specified value is represented as nullNothingnullptra null reference (Nothing in Visual Basic) in the database.
(Inherited from AbstractType.)
IsDirtyOverloaded.
IsModified (Overrides AbstractType..::.IsModified(Object, Object, array<Boolean>[]()[], ISessionImplementor).)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
NullSafeGetOverloaded.
NullSafeSetOverloaded.
Replace (Overrides AbstractType..::.Replace(Object, Object, ISessionImplementor, Object, IDictionary).)
ReplaceElements
ResolveIdentifier (Overrides AbstractType..::.ResolveIdentifier(Object, ISessionImplementor, Object).)
SemiResolve (Overrides AbstractType..::.SemiResolve(Object, ISessionImplementor, Object).)
SqlTypes (Overrides AbstractType..::.SqlTypes(IMapping).)
ToLoggableString (Overrides AbstractType..::.ToLoggableString(Object, ISessionFactoryImplementor).)
ToString (Overrides Object..::.ToString()()().)
Wrap
Wraps a collection from System.Collections or Iesi.Collections inside one of the NHibernate collections.

Properties

  NameDescription
ForeignKeyDirection
HasNiceEquals (Overrides AbstractType..::.HasNiceEquals.)
IsAlwaysDirtyChecked
We always need to dirty check the collection because we sometimes need to incremement version number of owner and also because of how assemble/disassemble is implemented for uks
IsAnyType
Gets a value indicating if the implementation is an "object" type
(Inherited from AbstractType.)
IsArrayType
IsAssociationType (Overrides AbstractType..::.IsAssociationType.)
IsCollectionType (Overrides AbstractType..::.IsCollectionType.)
IsComponentType
Gets a value indicating if the AbstractType is an IAbstractComponentType.
(Inherited from AbstractType.)
IsEntityType
Gets a value indicating if the AbstractType is a EntityType.
(Inherited from AbstractType.)
IsMutable (Overrides AbstractType..::.IsMutable.)
LHSPropertyName
Name (Overrides AbstractType..::.Name.)
ReturnedClass
When implemented by a class, gets the Type returned by the NullSafeGet() methods.
(Inherited from AbstractType.)
RHSUniqueKeyPropertyName
Role
UseLHSPrimaryKey

See Also