The CriteriaImpl type exposes the following members.

Constructors

  NameDescription
Public methodCriteriaImpl(String, ISessionImplementor)
Initializes a new instance of the CriteriaImpl class
Public methodCriteriaImpl(Type, ISessionImplementor)
Initializes a new instance of the CriteriaImpl class
Public methodCriteriaImpl(String, String, ISessionImplementor)
Initializes a new instance of the CriteriaImpl class
Public methodCriteriaImpl(Type, String, ISessionImplementor)
Initializes a new instance of the CriteriaImpl class

Methods

  NameDescription
Public methodAdd(ICriterion)
Public methodAdd(ICriteria, ICriterion)
Public methodAddOrder
Protected methodAfter
Protected methodBefore
Public methodClearOrders
Public methodClone
Public methodCreateAlias(String, String)
Public methodCreateAlias(String, String, JoinType)
Public methodCreateAlias(String, String, JoinType, ICriterion)
Public methodCreateCriteria(String)
Public methodCreateCriteria(String, JoinType)
Public methodCreateCriteria(String, String)
Public methodCreateCriteria(String, String, JoinType)
Public methodCreateCriteria(String, String, JoinType, ICriterion)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
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 methodFuture<(Of <<'(T>)>>)
Public methodFutureValue<(Of <<'(T>)>>)
Public methodGetCriteriaByAlias
Public methodGetCriteriaByPath
Public methodGetFetchMode
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetRootEntityTypeIfAvailable
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIterateExpressionEntries
Public methodIterateOrderings
Public methodIterateSubcriteria
Public methodList()()()()
Public methodList(IList)
Public methodList<(Of <<'(T>)>>)()()()()
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetCacheable
Public methodSetCacheMode
Override the cache mode for this particular query.
Public methodSetCacheRegion
Public methodSetComment
Public methodSetFetchMode
Public methodSetFetchSize
Public methodSetFirstResult
Public methodSetFlushMode
Public methodSetLockMode(LockMode)
Public methodSetLockMode(String, LockMode)
Public methodSetMaxResults
Public methodSetProjection
Public methodSetReadOnly
Set the read-only mode for entities (and proxies) loaded by this Criteria. This setting overrides the default for the session (see DefaultReadOnly).
Public methodSetResultTransformer
Public methodSetTimeout
Public methodToString (Overrides Object..::..ToString()()()().)
Public methodUniqueResult()()()()
Public methodUniqueResult<(Of <<'(T>)>>)()()()()

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.)

Properties

  NameDescription
Public propertyAlias
Public propertyCacheable
Public propertyCacheRegion
Public propertyComment
Public propertyEntityOrClassName
Public propertyFetchSize
Public propertyFirstResult
Public propertyIsReadOnly
Will entities (and proxies) loaded by this Criteria be put in read-only mode?
Public propertyIsReadOnlyInitialized
Was the read-only mode explicitly initialized?
Public propertyLockModes
Public propertyLookupByNaturalKey
Public propertyMaxResults
Public propertyProjection
Public propertyProjectionCriteria
Public propertyResultTransformer
Public propertySession
Public propertyTimeout

See Also