The CollectionType type exposes the following members.

Constructors

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

Methods

  NameDescription
Protected methodAdd
Public methodAssemble (Overrides AbstractType..::..Assemble(Object, ISessionImplementor, Object).)
Public methodBeforeAssemble (Inherited from AbstractType.)
Protected methodClear
Public methodCompare (Overrides AbstractType..::..Compare(Object, Object, Nullable<(Of <<'(EntityMode>)>>)).)
Public methodContains
Public methodDeepCopy (Overrides AbstractType..::..DeepCopy(Object, EntityMode, ISessionFactoryImplementor).)
Public methodDisassemble (Overrides AbstractType..::..Disassemble(Object, ISessionImplementor, Object).)
Public methodEquals (Inherited from AbstractType.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFromXMLNode (Overrides AbstractType..::..FromXMLNode(XmlNode, IMapping).)
Public methodGetAssociatedEntityName
Public methodGetAssociatedJoinable
Public methodGetCollection
Public methodGetColumnSpan (Overrides AbstractType..::..GetColumnSpan(IMapping).)
Public methodGetElementsIterator(Object)
Get an iterator over the element set of the collection in POCO mode
Public methodGetElementsIterator(Object, ISessionImplementor)
Get an iterator over the element set of the collection, which may not yet be wrapped
Public methodGetElementType
Public methodGetHashCode()()()() (Inherited from AbstractType.)
Public methodGetHashCode(Object, EntityMode) (Overrides AbstractType..::..GetHashCode(Object, EntityMode).)
Public methodGetHashCode(Object, EntityMode, ISessionFactoryImplementor) (Inherited from AbstractType.)
Public methodGetIdOfOwnerOrNull
Get the id value from the owning entity key, usually the same as the key, but might be some other property, in the case of property-ref
Public methodGetKeyOfOwner
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
Public methodGetOnCondition
Public methodGetReferencedColumns
Public methodGetSemiResolvedType (Inherited from AbstractType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasHolder
Public methodHydrate (Overrides AbstractType..::..Hydrate(IDataReader, array<String>[]()[][], ISessionImplementor, Object).)
Public methodIndexOf
Protected methodInitializeImmediately
Public methodInstantiate(Int32)
Instantiate an empty instance of the "underlying" collection (not a wrapper), but with the given anticipated size (i.e. accounting for initial capacity and perhaps load factor).
Public methodInstantiate(ISessionImplementor, ICollectionPersister, Object)
Instantiate an uninitialized collection wrapper or holder. Callers MUST add the holder to the persistence context!
Public methodInstantiateResult
Public methodIsDirty(Object, Object, ISessionImplementor) (Overrides AbstractType..::..IsDirty(Object, Object, ISessionImplementor).)
Public methodIsDirty(Object, Object, array<Boolean>[]()[][], ISessionImplementor) (Overrides AbstractType..::..IsDirty(Object, Object, array<Boolean>[]()[][], ISessionImplementor).)
Public methodIsEqual(Object, Object, EntityMode) (Overrides AbstractType..::..IsEqual(Object, Object, EntityMode).)
Public methodIsEqual(Object, Object, EntityMode, ISessionFactoryImplementor) (Inherited from AbstractType.)
Public methodIsModified (Overrides AbstractType..::..IsModified(Object, Object, array<Boolean>[]()[][], ISessionImplementor).)
Public methodIsSame (Inherited from AbstractType.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNullSafeGet(IDataReader, String, ISessionImplementor, Object) (Overrides AbstractType..::..NullSafeGet(IDataReader, String, ISessionImplementor, Object).)
Public methodNullSafeGet(IDataReader, array<String>[]()[][], ISessionImplementor, Object) (Overrides AbstractType..::..NullSafeGet(IDataReader, array<String>[]()[][], ISessionImplementor, Object).)
Public methodNullSafeSet(IDbCommand, Object, Int32, ISessionImplementor) (Overrides AbstractType..::..NullSafeSet(IDbCommand, Object, Int32, ISessionImplementor).)
Public methodNullSafeSet(IDbCommand, Object, Int32, array<Boolean>[]()[][], ISessionImplementor) (Overrides AbstractType..::..NullSafeSet(IDbCommand, Object, Int32, array<Boolean>[]()[][], ISessionImplementor).)
Protected methodRenderLoggableString
Public methodReplace(Object, Object, ISessionImplementor, Object, IDictionary) (Overrides AbstractType..::..Replace(Object, Object, ISessionImplementor, Object, IDictionary).)
Public methodReplace(Object, Object, ISessionImplementor, Object, IDictionary, ForeignKeyDirection) (Inherited from AbstractType.)
Public methodReplaceElements
Public methodResolveIdentifier (Overrides AbstractType..::..ResolveIdentifier(Object, ISessionImplementor, Object).)
Public methodSemiResolve (Overrides AbstractType..::..SemiResolve(Object, ISessionImplementor, Object).)
Public methodSetToXMLNode (Overrides AbstractType..::..SetToXMLNode(XmlNode, Object, ISessionFactoryImplementor).)
Public methodSqlTypes (Overrides AbstractType..::..SqlTypes(IMapping).)
Public methodToColumnNullness (Overrides AbstractType..::..ToColumnNullness(Object, IMapping).)
Public methodToLoggableString (Overrides AbstractType..::..ToLoggableString(Object, ISessionFactoryImplementor).)
Public methodToString (Overrides Object..::..ToString()()()().)
Public methodWrap
Wrap the naked collection instance in a wrapper, or instantiate a holder. Callers MUST add the holder to the persistence context!

Extension Methods

  NameDescription
Public Extension MethodAs<(Of <<'(T>)>>) (Defined by TypeHelperExtensionMethods.)
Public Extension MethodIsBetween
Apply a "between" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsIn(array<Object>[]()[][])Overloaded.
Apply an "in" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsIn(ICollection)Overloaded.
Apply an "in" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsProxy (Defined by NHibernateProxyHelper.)
Public Extension MethodToTypeParameters (Defined by ReflectHelper.)

Fields

  NameDescription
Public fieldStatic memberUnfetchedCollection

Properties

  NameDescription
Public propertyForeignKeyDirection
Public propertyIsAlwaysDirtyChecked
We always need to dirty check the collection because we sometimes need to increment version number of owner and also because of how assemble/disassemble is implemented for uks
Public propertyIsAnyType
Gets a value indicating if the implementation is an "object" type
(Inherited from AbstractType.)
Public propertyIsArrayType
Public propertyIsAssociationType (Overrides AbstractType..::..IsAssociationType.)
Public propertyIsCollectionType (Overrides AbstractType..::..IsCollectionType.)
Public propertyIsComponentType
Gets a value indicating if the AbstractType is an IAbstractComponentType.
(Inherited from AbstractType.)
Public propertyIsEmbeddedInXML
Public propertyIsEntityType
Gets a value indicating if the AbstractType is a EntityType.
(Inherited from AbstractType.)
Public propertyIsMutable (Overrides AbstractType..::..IsMutable.)
Public propertyIsXMLElement (Inherited from AbstractType.)
Public propertyLHSPropertyName
Public propertyName (Overrides AbstractType..::..Name.)
Public propertyReturnedClass
When implemented by a class, gets the Type returned by the NullSafeGet() methods.
(Inherited from AbstractType.)
Public propertyRHSUniqueKeyPropertyName
Public propertyRole
Public propertyUseLHSPrimaryKey

See Also