Returns an IList collection of objects of specified entityType, retrieved to the current Object Space and filtered according to the specified criteria.

Namespace: Xafari
Assembly: Xafari.XF (in Xafari.XF.dll)

Syntax

C#

public static IList GetEntities(
   this IObjectSpaceobjectSpace,
   TypeentityType,
   CriteriaOperatorcriteria = null,
   boolinTransaction = false
)

Parameters

objectSpace

 

entityType

The type of the objects to be retrieved.

criteria

A CriteriaOperator which specifies the criteria for object selection.

inTransaction

true if all objects (in the database and retrieved) are processed by the specified criteria; otherwise, false.

 

 

 

See Also