The Example type exposes the following members.

Constructors

  NameDescription
Protected methodExample
Initialize a new instance of the Example class for a particular entity.

Methods

  NameDescription
Protected methodAddComponentTypedValues
Protected methodAddPropertyTypedValue
Adds a TypedValue based on the value and type parameters to the IList in the list parameter.
Protected methodAppendComponentCondition
Protected methodAppendPropertyCondition
Public methodStatic memberCreate
Create a new instance, which includes all non-null properties by default
Public methodEnableLike()()()()
Use the "like" operator for all string-valued properties.
Public methodEnableLike(MatchMode)
Use the "like" operator for all string-valued properties with the specified MatchMode.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExcludeNone
Set the Example..::..IPropertySelector for this Example to exclude no properties.
Public methodExcludeNulls
Public methodExcludeProperty
Exclude a particular named property
Public methodExcludeZeroes
Set the Example..::..IPropertySelector for this Example to exclude zero-valued properties.
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 methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Protected methodGetNotNullPropertyCriterion
Public methodGetProjections (Overrides AbstractCriterion..::..GetProjections()()()().)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetTypedValues (Overrides AbstractCriterion..::..GetTypedValues(ICriteria, ICriteriaQuery).)
Public methodIgnoreCase
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetEscapeCharacter
Set escape character for "like" clause
Public methodSetPropertySelector
Public methodToSqlString (Overrides AbstractCriterion..::..ToSqlString(ICriteria, ICriteriaQuery, IDictionary<(Of <<'(String, IFilter>)>>)).)
Public methodToString (Overrides AbstractCriterion..::..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.)

Fields

See Also