The Example type exposes the following members.
Constructors
Methods
| Name | Description | |
|---|---|---|
| AddComponentTypedValues | ||
| AddPropertyTypedValue | ||
| AppendComponentCondition | ||
| AppendPropertyCondition | ||
| Create |
Create a new instance, which includes all non-null properties
by default
| |
| EnableLike()()()() |
Use the "like" operator for all string-valued properties.
| |
| EnableLike(MatchMode) |
Use the "like" operator for all string-valued properties with
the specified MatchMode.
| |
| Equals | (Inherited from Object.) | |
| ExcludeNone |
Set the Example..::..IPropertySelector for this Example
to exclude no properties.
| |
| ExcludeNulls | ||
| ExcludeProperty |
Exclude a particular named property
| |
| ExcludeZeroes |
Set the Example..::..IPropertySelector for this Example
to exclude zero-valued properties.
| |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetNotNullPropertyCriterion | ||
| GetProjections | (Overrides AbstractCriterion..::..GetProjections()()()().) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetTypedValues | (Overrides AbstractCriterion..::..GetTypedValues(ICriteria, ICriteriaQuery).) | |
| IgnoreCase | ||
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| SetEscapeCharacter | Set escape character for "like" clause | |
| SetPropertySelector |
Set the Example..::..IPropertySelector for this Example.
| |
| ToSqlString | (Overrides AbstractCriterion..::..ToSqlString(ICriteria, ICriteriaQuery, IDictionary<(Of <<'(String, IFilter>)>>)).) | |
| ToString | (Overrides AbstractCriterion..::..ToString()()()().) |
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.) |
Fields
| Name | Description | |
|---|---|---|
| All | ||
| NotNullOrEmptyString | ||
| NotNullOrZero |