Finds records based on a property value - automatically converts null values to IS NULL style queries.

Namespace: Castle.ActiveRecord
Assembly:  Castle.ActiveRecord (in Castle.ActiveRecord.dll)
Version: 1.0.3.0

Syntax

C#
protected internal static Array FindAllByProperty(
	Type targetType,
	string property,
	Object value
)

Parameters

targetType
Type
The target type
property
String
A property name (not a column name)
value
Object
The value to be equals to

Return Value

The Array of results.

See Also