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)

  • c#
  • VB

[Obsolete("Use objectSpace.Xafari().BC().GetObjects() method instead.")] public static IList<TEntity> GetEntities<TEntity>( this IObjectSpace objectSpace, CriteriaOperator criteria = null, bool inTransaction = 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 objectSpace As IObjectSpace, Optional ByVal criteria As CriteriaOperator = Nothing, Optional ByVal inTransaction As Boolean = False) As IList(Of TEntity)
End Function

.NET Framework Client Profile

Supported in: 4, 3.5 SP1