Check if there is any records in the db for the target type
Namespace: Castle.ActiveRecord
Assembly: Castle.ActiveRecord (in Castle.ActiveRecord.dll)
Version: 1.0.3.0
Syntax
Parameters
- targetType
- Type
The target type.
- filter
- String
A sql where string i.e. Person=? and DOB > ?
- args
- array<Object>[]()
Positional parameters for the filter string
Return Value
true if there's at least one row
See Also
ActiveRecordBase Class
Castle.ActiveRecord Namespace