The QueryTranslator type exposes the following members.

Constructors

Methods

  NameDescription
Public methodAddCollectionToFetch
Public methodAddEntityToFetch(String)
Public methodAddEntityToFetch(String, String, IAssociationType)
Protected methodAddFromAssociation
Public methodAddFromJoinOnly
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 methodBuildParameterMetadata
Protected methodCompile()()()()
Compile the query (generate the SQL).
Protected methodCompile(QueryTranslator)
Compile a subquery
Public methodCompile(IDictionary<(Of <<'(String, String>)>>), Boolean)
Compile a "normal" query. This method may be called multiple times. Subsequent invocations are no-ops.
Public methodCompile(String, IDictionary<(Of <<'(String, String>)>>), Boolean)
Compile a filter. This method may be called multiple times. Subsequent invocations are no-ops.
Public methodConcreteQueries
Public methodCreateSqlCommand (Inherited from Loader.)
Public methodDecoratePropertyMapping
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.)
Public methodExecuteUpdate
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 methodGetColumnNames
Public methodGetDecoratedPropertyMapping
Public methodGetEnumerable
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLockModes (Overrides Loader..::..GetLockModes(IDictionary<(Of <<'(String, LockMode>)>>)).)
Public methodGetNamedParameter
Protected methodGetParameterSpecifications (Overrides Loader..::..GetParameterSpecifications()()()().)
Public methodGetPositionalParameter
Public methodGetPropertyMapping
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.)
Public methodList(ISessionImplementor, QueryParameters)
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 (Overrides Loader..::..ResetEffectiveExpectedType(IEnumerable<(Of <<'(IParameterSpecification>)>>), QueryParameters).)
Public methodStatic memberScalarName
Protected methodSetMaxRows
Limits the number of rows returned by the Sql query if necessary.
(Inherited from Loader.)
Public methodToString (Overrides Loader..::..ToString()()()().)
Protected methodUpgradeLocks (Overrides Loader..::..UpgradeLocks()()()().)

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
Public propertyActualReturnTypes
Protected propertyAliases (Overrides Loader..::..Aliases.)
Public propertyCollectedParameterSpecifications
Protected propertyCollectionAliases (Inherited from BasicLoader.)
Protected propertyCollectionOwners (Overrides Loader..::..CollectionOwners.)
Protected propertyCollectionPersisters (Overrides Loader..::..CollectionPersisters.)
Protected propertyCollectionSuffixes (Overrides BasicLoader..::..CollectionSuffixes.)
Public propertyCollectSqlStrings
Protected propertyCompiled
Public propertyContainsCollectionFetches
Public propertyEnabledFilters
Protected propertyEntityAliases (Inherited from BasicLoader.)
Protected propertyEntityEagerPropertyFetches
An array indicating whether the entities have eager property fetching enabled.
(Inherited from Loader.)
Public propertyEntityPersisters
Persisters for the return values of a List style query
(Overrides Loader..::..EntityPersisters.)
Public propertyFactory (Inherited from Loader.)
Public propertyIsManipulationStatement
Public propertyIsShallowQuery
Is this query called by Scroll() or Iterate()?
Protected propertyIsSingleRowLoader
Return false is this loader is a batch entity loader
(Inherited from Loader.)
Public propertyIsSubquery
Public propertyIsSubselectLoadingEnabled (Overrides Loader..::..IsSubselectLoadingEnabled.)
Public propertyLoader
Protected propertyOwnerAssociationTypes (Overrides Loader..::..OwnerAssociationTypes.)
Protected propertyOwners
(Overrides Loader..::..Owners.)
Public propertyQueryIdentifier (Overrides Loader..::..QueryIdentifier.)
Public propertyQuerySpaces
Public propertyQueryString
Public propertyReturnAliases
Public propertyReturnTypes
Types of the return values of an Enumerate() style query. Return an array of ITypes.
Public propertyScalarColumnNames
Public propertySqlString
(Overrides Loader..::..SqlString.)
Public propertySQLString
Protected propertySuffixes (Overrides BasicLoader..::..Suffixes.)

See Also