The Loader type exposes the following members.

Constructors

  NameDescription
Public methodLoader
Initializes a new instance of the Loader class

Methods

  NameDescription
Protected methodAddLimitsParametersIfNeeded
Protected methodAdjustQueryParametersForSubSelectFetching
Protected methodApplyLocks
Append FOR UPDATE OF clause, if necessary. This empty superclass implementation merely returns its first argument.
Protected methodAutoDiscoverTypes
Public methodCreateSqlCommand
Protected methodDoList
Actually execute a query, ignoring the query cache
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodExpandDynamicFilterParameters
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 methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLockModes
What lock mode does this load entities with?
Protected methodGetParameterSpecifications
Protected methodGetResultColumnOrRow
Get the actual object that is returned in the user-visible result list.
Public methodGetResultList
Protected methodGetResultSet
Fetch a IDbCommand, call SetMaxRows and then execute it, advance to the first result and return an SQL IDataReader
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodHasSubselectLoadableCollections
Protected methodList
Return the query results, using the query cache, called by subclasses that implement cacheable queries
Public methodLoadCollection
Called by subclasses that load collections
Public methodLoadCollectionBatch
Called by wrappers that batch initialize collections
Protected methodLoadCollectionSubselect
Called by subclasses that batch initialize collections
Protected methodLoadEntity(ISessionImplementor, Object, Object, IType, IType, IEntityPersister)
Protected methodLoadEntity(ISessionImplementor, Object, IType, Object, String, Object, IEntityPersister)
Called by subclasses that load entities
Protected methodLoadEntityBatch
Called by subclasses that batch load entities
Protected methodLoadSingleRow
Loads a single row from the result set. This is the processing used from the ScrollableResults where no collection fetches were encountered.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodPostInstantiate
Calculate and cache select-clause suffixes. Must be called by subclasses after instantiation.
Protected methodPrepareQueryCommand
Obtain an IDbCommand with all parameters pre-bound. Bind positional parameters, named parameters, and limit parameters.
Protected methodPreprocessSQL
Modify the SQL, adding lock hints and comments, if necessary
Protected methodResetEffectiveExpectedType
Protected methodSetMaxRows
Limits the number of rows returned by the Sql query if necessary.
Public methodToString (Overrides Object..::..ToString()()()().)
Protected methodUpgradeLocks
Does this query return objects that might be already cached by the session, whose lock mode may need upgrading.

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
Protected fieldhelper

Properties

  NameDescription
Protected propertyAliases
Get the SQL table aliases of entities whose associations are subselect-loadable, returning null if this loader does not support subselect loading
Protected propertyCollectionAliases
Protected propertyCollectionOwners
Get the index of the entity that owns the collection, or -1 if there is no owner in the query results (i.e. in the case of a collection initializer) or no collection.
Protected propertyCollectionPersisters
An (optional) persister for a collection to be initialized; only collection loaders return a non-null value
Protected propertyEntityAliases
Get the result set descriptor
Protected propertyEntityEagerPropertyFetches
An array indicating whether the entities have eager property fetching enabled.
Public propertyEntityPersisters
An array of persisters of entity classes contained in each row of results; implemented by all subclasses
Public propertyFactory
Protected propertyIsSingleRowLoader
Return false is this loader is a batch entity loader
Public propertyIsSubselectLoadingEnabled
Protected propertyOwnerAssociationTypes
An array of the owner types corresponding to the Owners returns. Indices indicating no owner would be null here.
Protected propertyOwners
An array of indexes of the entity that owns a one-to-one association to the entity at the given index (-1 if there is no "owner")
Public propertyQueryIdentifier
Identifies the query for statistics reporting, if null, no statistics will be reported
Public propertySqlString
The SqlString to be called; implemented by all subclasses

See Also