The Restrictions type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| AllEq | 
            Apply an "equals" constraint to each property in the key set of a IDictionary
              | |
| And | 
            Return the conjunction of two expressions
              | |
| Between(String, Object, Object) | 
            Apply a "between" constraint to the named property
              | |
| Between(IProjection, Object, Object) | 
            Apply a "between" constraint to the projection
              | |
| Conjunction | 
            Group expressions together in a single conjunction (A and B and C...)
              | |
| Disjunction | 
            Group expressions together in a single disjunction (A or B or C...)
              | |
| Eq(String, Object) | 
            Apply an "equal" constraint to the named property
              | |
| Eq(IProjection, Object) | 
            Apply an "equal" constraint to the projection
              | |
| EqProperty(String, IProjection) | 
            Apply an "equal" constraint to the property and rshProjection
              | |
| EqProperty(String, String) | 
            Apply an "equal" constraint to two properties
              | |
| EqProperty(IProjection, IProjection) | 
            Apply an "equal" constraint to lshProjection and rshProjection
              | |
| EqProperty(IProjection, String) | 
            Apply an "equal" constraint to projection and property
              | |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.  (Inherited from Object.) | |
| Ge(String, Object) | 
            Apply a "greater than or equal" constraint to the named property
              | |
| Ge(IProjection, Object) | 
            Apply a "greater than or equal" constraint to the projection
              | |
| GeProperty(String, IProjection) | 
            Apply a "greater than or equal" constraint to two properties
              | |
| GeProperty(String, String) | 
            Apply a "greater than or equal" constraint to two properties
              | |
| GeProperty(IProjection, IProjection) | 
            Apply a "greater than or equal" constraint to two properties
              | |
| GeProperty(IProjection, String) | 
            Apply a "greater than or equal" constraint to two properties
              | |
| GetHashCode | Serves as a hash function for a particular type.   (Inherited from Object.) | |
| GetType | Gets the Type of the current instance.  (Inherited from Object.) | |
| Gt(String, Object) | 
            Apply a "greater than" constraint to the named property
              | |
| Gt(IProjection, Object) | 
            Apply a "greater than" constraint to the projection
              | |
| GtProperty(String, IProjection) | 
            Apply a "greater than" constraint to two properties
              | |
| GtProperty(String, String) | 
            Apply a "greater than" constraint to two properties
              | |
| GtProperty(IProjection, IProjection) | 
            Apply a "greater than" constraint to two properties
              | |
| GtProperty(IProjection, String) | 
            Apply a "greater than" constraint to two properties
              | |
| IdEq(Object) | 
            Apply an "equal" constraint to the identifier property
              | |
| IdEq(IProjection) | 
            Apply an "equal" constraint from the projection to the identifier property
              | |
| In(String, ICollection) | 
            Apply an "in" constraint to the named property
              | |
| In(String, array<Object>[]()[][]) | 
            Apply an "in" constraint to the named property 
              | |
| In(IProjection, ICollection) | 
            Apply an "in" constraint to the projection
              | |
| In(IProjection, array<Object>[]()[][]) | 
            Apply an "in" constraint to the projection
              | |
| InG<(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.
              | |
| InG<(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.
              | |
| InsensitiveLike(String, Object) | 
            A case-insensitive "like", similar to Postgres "ilike" operator
              | |
| InsensitiveLike(IProjection, Object) | 
            A case-insensitive "like", similar to Postgres "ilike" operator
              | |
| InsensitiveLike(String, String, MatchMode) | ||
| InsensitiveLike(IProjection, String, MatchMode) | ||
| IsEmpty | 
            Apply an "is not empty" constraint to the named property 
              | |
| IsNotEmpty | 
            Apply an "is not empty" constraint to the named property 
              | |
| IsNotNull(String) | 
            Apply an "is not null" constraint to the named property
              | |
| IsNotNull(IProjection) | 
            Apply an "is not null" constraint to the named property
              | |
| IsNull(String) | 
            Apply an "is null" constraint to the named property
              | |
| IsNull(IProjection) | 
            Apply an "is null" constraint to the projection
              | |
| Le(String, Object) | 
            Apply a "less than or equal" constraint to the named property
              | |
| Le(IProjection, Object) | 
            Apply a "less than or equal" constraint to the projection
              | |
| LeProperty(String, IProjection) | 
            Apply a "less than or equal" constraint to two properties
              | |
| LeProperty(String, String) | 
            Apply a "less than or equal" constraint to two properties
              | |
| LeProperty(IProjection, IProjection) | 
            Apply a "less than or equal" constraint to two properties
              | |
| LeProperty(IProjection, String) | 
            Apply a "less than or equal" constraint to two properties
              | |
| Like(String, Object) | 
            Apply a "like" constraint to the named property
              | |
| Like(IProjection, Object) | 
            Apply a "like" constraint to the project
              | |
| Like(String, String, MatchMode) | ||
| Like(IProjection, String, MatchMode) | 
            Apply a "like" constraint to the project
              | |
| Like(String, String, MatchMode, Nullable<(Of <<'(Char>)>>)) | ||
| Lt(String, Object) | 
            Apply a "less than" constraint to the named property
              | |
| Lt(IProjection, Object) | 
            Apply a "less than" constraint to the projection
              | |
| LtProperty(String, IProjection) | 
            Apply a "less than" constraint to two properties
              | |
| LtProperty(String, String) | 
            Apply a "less than" constraint to two properties
              | |
| LtProperty(IProjection, IProjection) | 
            Apply a "less than" constraint to two properties
              | |
| LtProperty(IProjection, String) | 
            Apply a "less than" constraint to two properties
              | |
| MemberwiseClone | Creates a shallow copy of the current Object.  (Inherited from Object.) | |
| NaturalId | ||
| Not | 
            Return the negation of an expression
              | |
| NotEqProperty(String, IProjection) | 
            Apply an "not equal" constraint to the projections
              | |
| NotEqProperty(String, String) | 
            Apply an "not equal" constraint to two properties
              | |
| NotEqProperty(IProjection, IProjection) | 
            Apply an "not equal" constraint to the projections
              | |
| NotEqProperty(IProjection, String) | 
            Apply an "not equal" constraint to projection and property
              | |
| On(Expression<(Of <<'(Func<(Of <<'(Object>)>>)>)>>)) | 
            Build an ICriterion for the given property
              | |
| On<(Of <<'(T>)>>)(Expression<(Of <<'(Func<(Of <<'(T, Object>)>>)>)>>)) | 
            Build an ICriterion for the given property
              | |
| Or | 
            Return the disjuction of two expressions
              | |
| ToString | Returns a string that represents the current object.  (Inherited from Object.) | |
| Where(Expression<(Of <<'(Func<(Of <<'(Boolean>)>>)>)>>)) | 
            Create an ICriterion for the supplied LambdaExpression
              | |
| Where<(Of <<'(T>)>>)(Expression<(Of <<'(Func<(Of <<'(T, Boolean>)>>)>)>>)) | 
            Create an ICriterion for the supplied LambdaExpression
              | |
| WhereNot(Expression<(Of <<'(Func<(Of <<'(Boolean>)>>)>)>>)) | 
            Create an ICriterion for the negation of the supplied LambdaExpression
              | |
| WhereNot<(Of <<'(T>)>>)(Expression<(Of <<'(Func<(Of <<'(T, Boolean>)>>)>)>>)) | 
            Create an ICriterion for the negation of the supplied LambdaExpression
              | 
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.) |