The QueryTranslator type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | QueryTranslator(ISessionFactoryImplementor, String, IDictionary<(Of <<'(String, IFilter>)>>)) |
Construct a query translator
|
![]() | QueryTranslator(String, String, IDictionary<(Of <<'(String, IFilter>)>>), ISessionFactoryImplementor) | Construct a query translator |
Methods
Name | Description | |
---|---|---|
![]() | AddCollectionToFetch | |
![]() | AddEntityToFetch(String) | |
![]() | AddEntityToFetch(String, String, IAssociationType) | |
![]() | AddFromAssociation | |
![]() | AddFromJoinOnly | |
![]() | AddLimitsParametersIfNeeded | (Inherited from Loader.) |
![]() | AdjustQueryParametersForSubSelectFetching | (Inherited from Loader.) |
![]() | ApplyLocks | (Overrides Loader..::..ApplyLocks(SqlString, IDictionary<(Of <<'(String, LockMode>)>>), Dialect).) |
![]() | AutoDiscoverTypes | (Inherited from Loader.) |
![]() | BuildParameterMetadata | |
![]() | Compile()()()() |
Compile the query (generate the SQL).
|
![]() | Compile(QueryTranslator) |
Compile a subquery
|
![]() | Compile(IDictionary<(Of <<'(String, String>)>>), Boolean) |
Compile a "normal" query. This method may be called multiple
times. Subsequent invocations are no-ops.
|
![]() | Compile(String, IDictionary<(Of <<'(String, String>)>>), Boolean) |
Compile a filter. This method may be called multiple
times. Subsequent invocations are no-ops.
|
![]() | ConcreteQueries | |
![]() | CreateSqlCommand | (Inherited from Loader.) |
![]() | DecoratePropertyMapping | |
![]() | DoList |
Actually execute a query, ignoring the query cache
(Inherited from Loader.) |
![]() | Equals | (Inherited from Object.) |
![]() | ExecuteUpdate | |
![]() | 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.) |
![]() | GetColumnNames | |
![]() | GetDecoratedPropertyMapping | |
![]() | GetEnumerable | |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetLockModes | (Overrides Loader..::..GetLockModes(IDictionary<(Of <<'(String, LockMode>)>>)).) |
![]() | GetNamedParameter | |
![]() | GetParameterSpecifications | (Overrides Loader..::..GetParameterSpecifications()()()().) |
![]() | GetPositionalParameter | |
![]() | GetPropertyMapping | |
![]() | GetResultColumnOrRow | (Overrides Loader..::..GetResultColumnOrRow(array<Object>[]()[][], IResultTransformer, IDataReader, ISessionImplementor).) |
![]() | GetResultList | (Overrides Loader..::..GetResultList(IList, IResultTransformer).) |
![]() | 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(ISessionImplementor, QueryParameters) | |
![]() | List(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.) |
![]() | 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 | (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.) |
![]() | ResetEffectiveExpectedType | (Overrides Loader..::..ResetEffectiveExpectedType(IEnumerable<(Of <<'(IParameterSpecification>)>>), QueryParameters).) |
![]() ![]() | ScalarName | |
![]() | SetMaxRows |
Limits the number of rows returned by the Sql query if necessary.
(Inherited from Loader.) |
![]() | ToString | (Overrides Loader..::..ToString()()()().) |
![]() | UpgradeLocks | (Overrides Loader..::..UpgradeLocks()()()().) |
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.) |