AliveTypeExtensions.GetEntities<TEntity> Method

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

Returns an IList collection of TEntity objects via the specified IObjectSpace.

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

collallSyntax

  • c#
  • VB

[Obsolete("Use objectSpace.Xafari().BC().GetObjects() method instead.")]
public static IList<TEntity> GetEntities<TEntity>(
     this IObjectSpaceobjectSpace,
     CriteriaOperatorcriteria = null,
     boolinTransaction = false
)
     where TEntity : class

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

Type Parameters

TEntity

 

 

 

Parameters

objectSpace

 

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