The Restrictions type exposes the following members.

Methods

  NameDescription
Public methodStatic memberAllEq
Apply an "equals" constraint to each property in the key set of a IDictionary
Public methodStatic memberAnd
Return the conjunction of two expressions
Public methodStatic memberBetween(String, Object, Object)
Apply a "between" constraint to the named property
Public methodStatic memberBetween(IProjection, Object, Object)
Apply a "between" constraint to the projection
Public methodStatic memberConjunction
Group expressions together in a single conjunction (A and B and C...)
Public methodStatic memberDisjunction
Group expressions together in a single disjunction (A or B or C...)
Public methodStatic memberEq(String, Object)
Apply an "equal" constraint to the named property
Public methodStatic memberEq(IProjection, Object)
Apply an "equal" constraint to the projection
Public methodStatic memberEqProperty(String, IProjection)
Apply an "equal" constraint to the property and rshProjection
Public methodStatic memberEqProperty(String, String)
Apply an "equal" constraint to two properties
Public methodStatic memberEqProperty(IProjection, IProjection)
Apply an "equal" constraint to lshProjection and rshProjection
Public methodStatic memberEqProperty(IProjection, String)
Apply an "equal" constraint to projection and property
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 memberGe(String, Object)
Apply a "greater than or equal" constraint to the named property
Public methodStatic memberGe(IProjection, Object)
Apply a "greater than or equal" constraint to the projection
Public methodStatic memberGeProperty(String, IProjection)
Apply a "greater than or equal" constraint to two properties
Public methodStatic memberGeProperty(String, String)
Apply a "greater than or equal" constraint to two properties
Public methodStatic memberGeProperty(IProjection, IProjection)
Apply a "greater than or equal" constraint to two properties
Public methodStatic memberGeProperty(IProjection, String)
Apply a "greater than or equal" constraint to two properties
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberGt(String, Object)
Apply a "greater than" constraint to the named property
Public methodStatic memberGt(IProjection, Object)
Apply a "greater than" constraint to the projection
Public methodStatic memberGtProperty(String, IProjection)
Apply a "greater than" constraint to two properties
Public methodStatic memberGtProperty(String, String)
Apply a "greater than" constraint to two properties
Public methodStatic memberGtProperty(IProjection, IProjection)
Apply a "greater than" constraint to two properties
Public methodStatic memberGtProperty(IProjection, String)
Apply a "greater than" constraint to two properties
Public methodStatic memberIdEq(Object)
Apply an "equal" constraint to the identifier property
Public methodStatic memberIdEq(IProjection)
Apply an "equal" constraint from the projection to the identifier property
Public methodStatic memberIn(String, ICollection)
Apply an "in" constraint to the named property
Public methodStatic memberIn(String, array<Object>[]()[][])
Apply an "in" constraint to the named property
Public methodStatic memberIn(IProjection, ICollection)
Apply an "in" constraint to the projection
Public methodStatic memberIn(IProjection, array<Object>[]()[][])
Apply an "in" constraint to the projection
Public methodStatic memberInG<(Of <<'(T>)>>)(String, IEnumerable<(Of <<'(T>)>>))
Apply an "in" constraint to the named property. This is the generic equivalent of In(String, ICollection), renamed to avoid ambiguity.
Public methodStatic memberInG<(Of <<'(T>)>>)(IProjection, IEnumerable<(Of <<'(T>)>>))
Apply an "in" constraint to the projection. This is the generic equivalent of In(String, ICollection), renamed to avoid ambiguity.
Public methodStatic memberInsensitiveLike(String, Object)
A case-insensitive "like", similar to Postgres "ilike" operator
Public methodStatic memberInsensitiveLike(IProjection, Object)
A case-insensitive "like", similar to Postgres "ilike" operator
Public methodStatic memberInsensitiveLike(String, String, MatchMode)
Public methodStatic memberInsensitiveLike(IProjection, String, MatchMode)
Public methodStatic memberIsEmpty
Apply an "is not empty" constraint to the named property
Public methodStatic memberIsNotEmpty
Apply an "is not empty" constraint to the named property
Public methodStatic memberIsNotNull(String)
Apply an "is not null" constraint to the named property
Public methodStatic memberIsNotNull(IProjection)
Apply an "is not null" constraint to the named property
Public methodStatic memberIsNull(String)
Apply an "is null" constraint to the named property
Public methodStatic memberIsNull(IProjection)
Apply an "is null" constraint to the projection
Public methodStatic memberLe(String, Object)
Apply a "less than or equal" constraint to the named property
Public methodStatic memberLe(IProjection, Object)
Apply a "less than or equal" constraint to the projection
Public methodStatic memberLeProperty(String, IProjection)
Apply a "less than or equal" constraint to two properties
Public methodStatic memberLeProperty(String, String)
Apply a "less than or equal" constraint to two properties
Public methodStatic memberLeProperty(IProjection, IProjection)
Apply a "less than or equal" constraint to two properties
Public methodStatic memberLeProperty(IProjection, String)
Apply a "less than or equal" constraint to two properties
Public methodStatic memberLike(String, Object)
Apply a "like" constraint to the named property
Public methodStatic memberLike(IProjection, Object)
Apply a "like" constraint to the project
Public methodStatic memberLike(String, String, MatchMode)
Public methodStatic memberLike(IProjection, String, MatchMode)
Apply a "like" constraint to the project
Public methodStatic memberLike(String, String, MatchMode, Nullable<(Of <<'(Char>)>>))
Public methodStatic memberLt(String, Object)
Apply a "less than" constraint to the named property
Public methodStatic memberLt(IProjection, Object)
Apply a "less than" constraint to the projection
Public methodStatic memberLtProperty(String, IProjection)
Apply a "less than" constraint to two properties
Public methodStatic memberLtProperty(String, String)
Apply a "less than" constraint to two properties
Public methodStatic memberLtProperty(IProjection, IProjection)
Apply a "less than" constraint to two properties
Public methodStatic memberLtProperty(IProjection, String)
Apply a "less than" constraint to two properties
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberNaturalId
Public methodStatic memberNot
Return the negation of an expression
Public methodStatic memberNotEqProperty(String, IProjection)
Apply an "not equal" constraint to the projections
Public methodStatic memberNotEqProperty(String, String)
Apply an "not equal" constraint to two properties
Public methodStatic memberNotEqProperty(IProjection, IProjection)
Apply an "not equal" constraint to the projections
Public methodStatic memberNotEqProperty(IProjection, String)
Apply an "not equal" constraint to projection and property
Public methodStatic memberOn(Expression<(Of <<'(Func<(Of <<'(Object>)>>)>)>>))
Build an ICriterion for the given property
Public methodStatic memberOn<(Of <<'(T>)>>)(Expression<(Of <<'(Func<(Of <<'(T, Object>)>>)>)>>))
Build an ICriterion for the given property
Public methodStatic memberOr
Return the disjuction of two expressions
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberWhere(Expression<(Of <<'(Func<(Of <<'(Boolean>)>>)>)>>))
Create an ICriterion for the supplied LambdaExpression
Public methodStatic memberWhere<(Of <<'(T>)>>)(Expression<(Of <<'(Func<(Of <<'(T, Boolean>)>>)>)>>))
Create an ICriterion for the supplied LambdaExpression
Public methodStatic memberWhereNot(Expression<(Of <<'(Func<(Of <<'(Boolean>)>>)>)>>))
Create an ICriterion for the negation of the supplied LambdaExpression
Public methodStatic memberWhereNot<(Of <<'(T>)>>)(Expression<(Of <<'(Func<(Of <<'(T, Boolean>)>>)>)>>))
Create an ICriterion for the negation of the supplied LambdaExpression

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

See Also