AliveTypeExtensions.GetEntities Method

NOTE: This member is now obsolete.Use objectSpace.Xafari().BC().GetObjects() method instead.

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.BC (in Xafari.BC.dll)

collallSyntax

  • c#
  • VB

[Obsolete("Use objectSpace.Xafari().BC().GetObjects() method instead.")]
public static IList GetEntities(
     this IObjectSpaceobjectSpace,
     TypeentityType,
     CriteriaOperatorcriteria = null,
     boolinTransaction = false
)

<Obsolete("Use objectSpace.Xafari().BC().GetObjects() method instead.")> _
<System.Runtime.CompilerServices.Extension> _
Public Shared Function GetEntities(ByVal , As IObjectSpaceobjectSpace, ByVal , As TypeentityType, Optional ByVal = As CriteriaOperatorcriteria = = Nothing, Optional ByVal = As boolinTransaction = = False) As IList
End Function

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.

 

 

 

collallSee Also