Searches and returns the first row for T

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

Syntax

C#
public static T FindFirst(
	Order[] orders,
	params ICriterion[] criteria
)

Parameters

orders
array<Order>[]()
The sort order - used to determine which record is the first one
criteria
array<ICriterion>[]()
The criteria expression

Return Value

A targetType instance or null

See Also