Namespaces

Types

Type IFilter

Namespace NHibernate

Methods

Properties

Public instance methods

IFilter SetParameter(string name, object value)

Set the named parameter's value list for this filter.
Parameters
return IFilter This FilterImpl instance (for method chaining).
string name The parameter's name.
object value The values to be applied.

IFilter SetParameterList(string name, Object[] values)

Parameters
return IFilter
string name
Object[] values

IFilter SetParameterList(string name, ICollection values)

Set the named parameter's value list for this filter. Used in conjunction with IN-style filter criteria.
Parameters
return IFilter This FilterImpl instance (for method chaining).
string name The parameter's name.
ICollection values The values to be expanded into an SQL IN list.

void Validate()

Perform validation of the filter state. This is used to verify the state of the filter after its enablement and before its use.

Public properties

FilterDefinition FilterDefinition get;

Get the filter definition containing additional information about the filter (such as default-condition and expected parameter names/types).
return FilterDefinition

string Name get;

Get the name of this filter.
return string