Determine if the Property should be included.

Namespace: NHibernate.Criterion
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
bool Include(
	Object propertyValue,
	string propertyName,
	IType type
)
Visual Basic
Function Include ( _
	propertyValue As Object, _
	propertyName As String, _
	type As IType _
) As Boolean
Visual C++
bool Include(
	Object^ propertyValue, 
	String^ propertyName, 
	IType^ type
)

Parameters

propertyValue
Type: System..::..Object
The value of the property that is being checked for inclusion.
propertyName
Type: System..::..String
The name of the property that is being checked for inclusion.
type
Type: NHibernate.Type..::..IType
The IType of the property.

Return Value

trueTruetruetrue (True in Visual Basic) if the Property should be included in the Query, falseFalsefalsefalse (False in Visual Basic) otherwise.

See Also