AliveTypeExtensions.SelectData<TEntity> Method

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

Retrieves objects from a session using the specified query parameters.

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

collallSyntax

  • c#
  • VB

[Obsolete("Use objectSpace.Xafari().SelectData() method instead.")]
public static List<object[]> SelectData<object[]>(
     this IObjectSpaceobjectSpace,
     CriteriaOperatorCollectionproperties,
     CriteriaOperatorcriteria,
     CriteriaOperatorCollectiongroupProperties,
     CriteriaOperatorgroupCriteria,
     boolselectDeleted,
     intskipSelectedRecords,
     inttopSelectedRecords,
     SortingCollectionsorting,
     boolinTransaction = false
)

<Obsolete("Use objectSpace.Xafari().SelectData() method instead.")> _
Public Shared Function SelectData(Of Object)() As List(Of Object())
End Function

Type Parameters

object[]

 

 

 

Parameters

objectSpace

Target object space.

properties

A CriteriaOperatorCollection object which specifies object properties to be retrieved.

criteria

A CriteriaOperator descendant which specifies the objects to be retrieved.

groupProperties

A CriteriaOperatorCollection object which specifies the grouping properties.

groupCriteria

A CriteriaOperator descendant which specifies the grouping criteria for the retrieved objects.

selectDeleted

true to include the persistent objects marked as deleted into the list; otherwise, false.

skipSelectedRecords

An integer value which specifies the number of objects to exclude when populating the list.

topSelectedRecords

An integer value which specifies the maximum number of objects to be retrieved.

sorting

A SortingCollection object that specifies the sort order for the list of the retrieved objects.

inTransaction

Take into account all in-memory object changes.

 

 

Return Value

A list whose elements are property values that correspond to the properties of objects retrieved from the session.

 

collallSee Also