Support for Query By Example.

The following tables list the members exposed by the Example type.

Public Methods

  NameDescription
static memberCreate
Create a new instance, which includes all non-null properties by default

EnableLikeOverloaded.
ExcludeNone
Set the IPropertySelector for this Example to exclude no properties.

ExcludeNulls
ExcludeProperty
Exclude a particular named property

ExcludeZeroes
Set the IPropertySelector for this Example to exclude zero-valued properties.

GetTypedValues (Overrides .GetTypedValues(ICriteria, ICriteriaQuery).)
IgnoreCase
SetPropertySelector
Set the IPropertySelector for this Example.

ToSqlString (Overrides .ToSqlString(ICriteria, ICriteriaQuery, IDictionary).)
ToString (Overrides .ToString().)

Protected Methods

  NameDescription
AddComponentTypedValues
AddPropertyTypedValue
Adds a TypedValue based on the value and type parameters to the IList in the list parameter.

AppendComponentCondition
AppendPropertyCondition

Protected Constructors

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