The BasicLoader type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | BasicLoader | Initializes a new instance of the BasicLoader class |
Methods
Name | Description | |
---|---|---|
![]() | AddLimitsParametersIfNeeded | (Inherited from Loader.) |
![]() | AdjustQueryParametersForSubSelectFetching | (Inherited from Loader.) |
![]() | ApplyLocks |
Append FOR UPDATE OF clause, if necessary. This
empty superclass implementation merely returns its first
argument.
(Inherited from Loader.) |
![]() | AutoDiscoverTypes | (Inherited from Loader.) |
![]() | CreateSqlCommand | (Inherited from Loader.) |
![]() | DoList |
Actually execute a query, ignoring the query cache
(Inherited from Loader.) |
![]() | Equals | (Inherited from Object.) |
![]() | ExpandDynamicFilterParameters | (Inherited from Loader.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() | GenerateSuffixes(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.
|
![]() ![]() | GenerateSuffixes(Int32, Int32) | |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetLockModes |
What lock mode does this load entities with?
(Inherited from Loader.) |
![]() | GetParameterSpecifications | (Inherited from Loader.) |
![]() | GetResultColumnOrRow |
Get the actual object that is returned in the user-visible result list.
(Inherited from Loader.) |
![]() | GetResultList | (Inherited from Loader.) |
![]() | GetResultSet |
Fetch a IDbCommand, call SetMaxRows and then execute it,
advance to the first result and return an SQL IDataReader (Inherited from Loader.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | HasSubselectLoadableCollections | (Inherited from Loader.) |
![]() | List |
Return the query results, using the query cache, called
by subclasses that implement cacheable queries
(Inherited from Loader.) |
![]() | LoadCollection |
Called by subclasses that load collections
(Inherited from Loader.) |
![]() | LoadCollectionBatch |
Called by wrappers that batch initialize collections
(Inherited from Loader.) |
![]() | LoadCollectionSubselect |
Called by subclasses that batch initialize collections
(Inherited from Loader.) |
![]() | LoadEntity(ISessionImplementor, Object, Object, IType, IType, IEntityPersister) | (Inherited from Loader.) |
![]() | LoadEntity(ISessionImplementor, Object, IType, Object, String, Object, IEntityPersister) |
Called by subclasses that load entities
(Inherited from Loader.) |
![]() | LoadEntityBatch |
Called by subclasses that batch load entities
(Inherited from Loader.) |
![]() | LoadSingleRow |
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.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | PostInstantiate | (Overrides Loader..::..PostInstantiate()()()().) |
![]() | PrepareQueryCommand |
Obtain an IDbCommand with all parameters pre-bound. Bind positional parameters,
named parameters, and limit parameters.
(Inherited from Loader.) |
![]() | PreprocessSQL |
Modify the SQL, adding lock hints and comments, if necessary
(Inherited from Loader.) |
![]() | ResetEffectiveExpectedType | (Inherited from Loader.) |
![]() | SetMaxRows |
Limits the number of rows returned by the Sql query if necessary.
(Inherited from Loader.) |
![]() | ToString | (Inherited from Loader.) |
![]() | UpgradeLocks |
Does this query return objects that might be already cached by
the session, whose lock mode may need upgrading.
(Inherited from Loader.) |
Extension Methods
Name | Description | |
---|---|---|
![]() | As<(Of <<'(T>)>>) | (Defined by TypeHelperExtensionMethods.) |
![]() | IsBetween |
Apply a "between" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) |
![]() | IsIn(array<Object>[]()[][]) | Overloaded.
Apply an "in" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) |
![]() | IsIn(ICollection) | Overloaded.
Apply an "in" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) |
![]() | IsProxy | (Defined by NHibernateProxyHelper.) |
![]() | ToTypeParameters | (Defined by ReflectHelper.) |
Fields
Properties
Name | Description | |
---|---|---|
![]() | Aliases |
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.) |
![]() | CollectionAliases | (Overrides Loader..::..CollectionAliases.) |
![]() | CollectionOwners |
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.) |
![]() | CollectionPersisters |
An (optional) persister for a collection to be initialized; only collection loaders
return a non-null value
(Inherited from Loader.) |
![]() | CollectionSuffixes | |
![]() | EntityAliases | (Overrides Loader..::..EntityAliases.) |
![]() | EntityEagerPropertyFetches |
An array indicating whether the entities have eager property fetching
enabled.
(Inherited from Loader.) |
![]() | EntityPersisters |
An array of persisters of entity classes contained in each row of results;
implemented by all subclasses
(Inherited from Loader.) |
![]() | Factory | (Inherited from Loader.) |
![]() | IsSingleRowLoader |
Return false is this loader is a batch entity loader
(Inherited from Loader.) |
![]() | IsSubselectLoadingEnabled | (Inherited from Loader.) |
![]() | OwnerAssociationTypes |
An array of the owner types corresponding to the Owners
returns. Indices indicating no owner would be null here.
(Inherited from Loader.) |
![]() | Owners |
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.) |
![]() | QueryIdentifier |
Identifies the query for statistics reporting, if null,
no statistics will be reported
(Inherited from Loader.) |
![]() | SqlString |
The SqlString to be called; implemented by all subclasses
(Inherited from Loader.) |
![]() | Suffixes |