The BasicLoader type exposes the following members.

Constructors

  NameDescription
Public methodBasicLoader
Initializes a new instance of the BasicLoader class

Methods

  NameDescription
Protected methodAddLimitsParametersIfNeeded (Inherited from Loader.)
Protected methodAdjustQueryParametersForSubSelectFetching (Inherited from Loader.)
Protected methodApplyLocks
Append FOR UPDATE OF clause, if necessary. This empty superclass implementation merely returns its first argument.
(Inherited from Loader.)
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 methodStatic memberGenerateSuffixes(Int32)
Utility method that generates 0_, 1_ suffixes. Subclasses don't necessarily need to use this algorithm, but it is intended that they will in most cases.
Public methodStatic memberGenerateSuffixes(Int32, Int32)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLockModes
What lock mode does this load entities with?
(Inherited from Loader.)
Protected methodGetParameterSpecifications (Inherited from Loader.)
Protected methodGetResultColumnOrRow
Get the actual object that is returned in the user-visible result list.
(Inherited from Loader.)
Public methodGetResultList (Inherited from Loader.)
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 methodList
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 (Overrides Loader..::..PostInstantiate()()()().)
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.)
Protected fieldStatic memberNoSuffix

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
(Inherited from Loader.)
Protected propertyCollectionAliases (Overrides Loader..::..CollectionAliases.)
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.
(Inherited from Loader.)
Protected propertyCollectionPersisters
An (optional) persister for a collection to be initialized; only collection loaders return a non-null value
(Inherited from Loader.)
Protected propertyCollectionSuffixes
Protected propertyEntityAliases (Overrides Loader..::..EntityAliases.)
Protected propertyEntityEagerPropertyFetches
An array indicating whether the entities have eager property fetching enabled.
(Inherited from Loader.)
Public propertyEntityPersisters
An array of persisters of entity classes contained in each row of results; implemented by all subclasses
(Inherited from Loader.)
Public propertyFactory (Inherited from Loader.)
Protected propertyIsSingleRowLoader
Return false is this loader is a batch entity loader
(Inherited from Loader.)
Public propertyIsSubselectLoadingEnabled (Inherited from Loader.)
Protected propertyOwnerAssociationTypes
An array of the owner types corresponding to the Owners returns. Indices indicating no owner would be null here.
(Inherited from Loader.)
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")
(Inherited from Loader.)
Public propertyQueryIdentifier
Identifies the query for statistics reporting, if null, no statistics will be reported
(Inherited from Loader.)
Public propertySqlString
The SqlString to be called; implemented by all subclasses
(Inherited from Loader.)
Protected propertySuffixes

See Also