The CriteriaLoader type exposes the following members.

Constructors

  NameDescription
Public methodCriteriaLoader
Initializes a new instance of the CriteriaLoader class

Methods

  NameDescription
Protected methodAddLimitsParametersIfNeeded (Inherited from Loader.)
Protected methodAdjustQueryParametersForSubSelectFetching (Inherited from Loader.)
Protected methodApplyLocks (Overrides Loader..::..ApplyLocks(SqlString, IDictionary<(Of <<'(String, LockMode>)>>), Dialect).)
Protected methodAutoDiscoverTypes (Inherited from Loader.)
Public methodCreateSqlCommand (Inherited from Loader.)
Protected methodDoList
Actually execute a query, ignoring the query cache
(Inherited from Loader.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodExpandDynamicFilterParameters (Inherited from Loader.)
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 (Overrides OuterJoinLoader..::..GetLockModes(IDictionary<(Of <<'(String, LockMode>)>>)).)
Protected methodGetParameterSpecifications (Overrides Loader..::..GetParameterSpecifications()()()().)
Protected methodGetResultColumnOrRow (Overrides Loader..::..GetResultColumnOrRow(array<Object>[]()[][], IResultTransformer, IDataReader, ISessionImplementor).)
Public methodGetResultList (Overrides Loader..::..GetResultList(IList, IResultTransformer).)
Protected methodGetResultSet
Fetch a IDbCommand, call SetMaxRows and then execute it, advance to the first result and return an SQL IDataReader
(Inherited from Loader.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodHasSubselectLoadableCollections (Inherited from Loader.)
Protected methodInitFromWalker (Inherited from OuterJoinLoader.)
Public methodList(ISessionImplementor)
Protected methodList(ISessionImplementor, QueryParameters, ISet<(Of <<'(String>)>>), array<IType>[]()[][])
Return the query results, using the query cache, called by subclasses that implement cacheable queries
(Inherited from Loader.)
Public methodLoadCollection
Called by subclasses that load collections
(Inherited from Loader.)
Public methodLoadCollectionBatch
Called by wrappers that batch initialize collections
(Inherited from Loader.)
Protected methodLoadCollectionSubselect
Called by subclasses that batch initialize collections
(Inherited from Loader.)
Protected methodLoadEntity(ISessionImplementor, Object, Object, IType, IType, IEntityPersister) (Inherited from Loader.)
Protected methodLoadEntity(ISessionImplementor, Object, IType, Object, String, Object, IEntityPersister)
Called by subclasses that load entities
(Inherited from Loader.)
Protected methodLoadEntityBatch
Called by subclasses that batch load entities
(Inherited from Loader.)
Protected methodLoadSingleRow
Loads a single row from the result set. This is the processing used from the ScrollableResults where no collection fetches were encountered.
(Inherited from Loader.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodPostInstantiate (Inherited from BasicLoader.)
Protected methodPrepareQueryCommand
Obtain an IDbCommand with all parameters pre-bound. Bind positional parameters, named parameters, and limit parameters.
(Inherited from Loader.)
Protected methodPreprocessSQL
Modify the SQL, adding lock hints and comments, if necessary
(Inherited from Loader.)
Protected methodResetEffectiveExpectedType (Inherited from Loader.)
Protected methodSetMaxRows
Limits the number of rows returned by the Sql query if necessary.
(Inherited from Loader.)
Public methodToString (Inherited from Loader.)
Protected methodUpgradeLocks
Does this query return objects that might be already cached by the session, whose lock mode may need upgrading.
(Inherited from Loader.)

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 (Inherited from Loader.)

Properties

  NameDescription
Protected propertyAliases (Inherited from OuterJoinLoader.)
Protected propertyCollectionAliases (Inherited from BasicLoader.)
Protected propertyCollectionOwners (Inherited from OuterJoinLoader.)
Protected propertyCollectionPersisters (Inherited from OuterJoinLoader.)
Protected propertyCollectionSuffixes (Inherited from OuterJoinLoader.)
Protected propertyDialect (Inherited from OuterJoinLoader.)
Public propertyEnabledFilters (Inherited from OuterJoinLoader.)
Protected propertyEntityAliases (Inherited from BasicLoader.)
Protected propertyEntityEagerPropertyFetches
An array indicating whether the entities have eager property fetching enabled.
(Inherited from Loader.)
Public propertyEntityPersisters (Inherited from OuterJoinLoader.)
Public propertyFactory (Inherited from Loader.)
Protected propertyIsSingleRowLoader
Return false is this loader is a batch entity loader
(Inherited from Loader.)
Public propertyIsSubselectLoadingEnabled (Overrides Loader..::..IsSubselectLoadingEnabled.)
Protected propertyOwnerAssociationTypes (Inherited from OuterJoinLoader.)
Protected propertyOwners (Inherited from OuterJoinLoader.)
Public propertyQueryIdentifier
Identifies the query for statistics reporting, if null, no statistics will be reported
(Inherited from Loader.)
Public propertyQuerySpaces
Public propertyResultTypes
Public propertySqlString (Inherited from OuterJoinLoader.)
Protected propertySuffixes (Inherited from OuterJoinLoader.)
Public propertyTranslator

See Also