The DetachedCriteria type exposes the following members.

Constructors

  NameDescription
Protected methodDetachedCriteria(String)
Initializes a new instance of the DetachedCriteria class
Protected methodDetachedCriteria(Type)
Initializes a new instance of the DetachedCriteria class
Protected methodDetachedCriteria(String, String)
Initializes a new instance of the DetachedCriteria class
Protected methodDetachedCriteria(Type, String)
Initializes a new instance of the DetachedCriteria class
Protected methodDetachedCriteria(CriteriaImpl, ICriteria)
Initializes a new instance of the DetachedCriteria class

Methods

  NameDescription
Public methodAdd
Public methodAddOrder
Public methodClearOrders
Clear all orders from criteria.
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 methodStatic memberFor(Type)
Public methodStatic memberFor(Type, String)
Public methodStatic memberFor<(Of <<'(T>)>>)()()()()
Public methodStatic memberFor<(Of <<'(T>)>>)(String)
Public methodStatic memberForEntityName(String)
Public methodStatic memberForEntityName(String, String)
Public methodGetCriteriaByAlias
Public methodGetCriteriaByPath
Protected methodGetCriteriaImpl
Public methodGetExecutableCriteria(ISession)
Get an executable instance of Criteria, to actually run the query.
Public methodGetExecutableCriteria(IStatelessSession)
Get an executable instance of Criteria, to actually run the query.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetRootEntityTypeIfAvailable
Gets the root entity type if available, throws otherwise
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetCacheable
Public methodSetCacheMode
Public methodSetCacheRegion
Public methodSetFetchMode
Public methodSetFirstResult
Public methodSetLockMode(LockMode)
Public methodSetLockMode(String, LockMode)
Public methodSetMaxResults
Public methodSetProjection
Public methodSetResultTransformer
Public methodToString (Overrides Object..::..ToString()()()().)

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 propertyEntityOrClassName

See Also