Load an entity using outerjoin fetching to fetch associated entities.
The following tables list the members exposed by the EntityLoader type.
Public Methods
| Name | Description | |
|---|---|---|
| GetNamedParameterLocs | (Inherited from Loader.) | |
| GetQueryStringAndTypes | (Inherited from Loader.) | |
| LoadByUniqueKey | ||
| LoadCollection |
Called by subclasses that load collections
(Inherited from Loader.) | |
| LoadCollectionBatch |
Called by wrappers that batch initialize collections
(Inherited from Loader.) | |
| ToString | (Inherited from Loader.) |
Protected Methods
| Name | Description | |
|---|---|---|
| ApplyLocks |
Append FOR UPDATE OF clause, if necessary. This
empty superclass implementation merely returns its first
argument.
(Inherited from Loader.) | |
| BindNamedParameters |
Bind named parameters to the IDbCommand (Inherited from Loader.) | |
| BindPositionalParameters |
Bind positional parameter values to the IDbCommand
(these are parameters specified by ?).
(Inherited from Loader.) | |
| ConvertITypesToSqlTypes | (Inherited from Loader.) | |
| DoList |
Actually execute a query, ignoring the query cache
(Inherited from Loader.) | |
| GetLockModes | (Inherited from OuterJoinLoader.) | |
| GetParameterTypes | (Inherited from Loader.) | |
| GetResultColumnOrRow | (Inherited from AbstractEntityLoader.) | |
| 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.) | |
| HasSubselectLoadableCollections | (Inherited from Loader.) | |
| InitFromWalker | (Inherited from OuterJoinLoader.) | |
| List |
Return the query results, using the query cache, called
by subclasses that implement cacheable queries
(Inherited from Loader.) | |
| LoadCollectionSubselect |
Called by subclasses that batch initialize collections
(Inherited from Loader.) | |
| LoadEntity |
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.) | |
| PostInstantiate | (Inherited from BasicLoader.) | |
| 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.) | |
| ProcessFilters | (Inherited from Loader.) | |
| SetMaxRows |
Limits the number of rows returned by the Sql query if necessary.
(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.) |
Protected Fields
| Name | Description | |
|---|---|---|
| entityName | (Inherited from AbstractEntityLoader.) | |
| persister | (Inherited from AbstractEntityLoader.) | |
| uniqueKeyType | (Inherited from AbstractEntityLoader.) |
Public Constructors
| Name | Description | |
|---|---|---|
| EntityLoaderNew | Overloaded. |
Public Properties
| Name | Description | |
|---|---|---|
| EnabledFilters | (Inherited from OuterJoinLoader.) | |
| Factory | (Inherited from Loader.) |
Protected Properties
| Name | Description | |
|---|---|---|
| Aliases | (Inherited from OuterJoinLoader.) | |
| CollectionAliases | (Inherited from BasicLoader.) | |
| CollectionOwners | (Inherited from OuterJoinLoader.) | |
| CollectionPersisters | (Inherited from OuterJoinLoader.) | |
| CollectionSuffixes | (Inherited from OuterJoinLoader.) | |
| EntityAliases | (Inherited from BasicLoader.) | |
| EntityPersisters | (Inherited from OuterJoinLoader.) | |
| IsSingleRowLoader | (Overrides .IsSingleRowLoader.) | |
| IsSubselectLoadingEnabled | (Inherited from Loader.) | |
| OwnerAssociationTypes | (Inherited from OuterJoinLoader.) | |
| Owners | (Inherited from OuterJoinLoader.) | |
| SqlString | (Inherited from OuterJoinLoader.) | |
| Suffixes | (Inherited from OuterJoinLoader.) |