AliveTypeExtensions.Evaluate<TEntity> Method

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

Evaluates the specified expression for objects of the specified type.

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

collallSyntax

  • c#
  • VB

[Obsolete("Use objectSpace.Xafari().Evaluate() method instead.")]
public static object Evaluate<TEntity>(
     this IObjectSpaceobjectSpace,
     CriteriaOperatorexpression,
     CriteriaOperatorcriteria,
     boolinTransaction = false
)
     where TEntity : class

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

Type Parameters

TEntity

A Type object that identifies the type of objects against which the expression will be evaluated.

 

 

Parameters

objectSpace

 

expression

A CriteriaOperator object that specifies the expression to evaluate.

criteria

A CriteriaOperator object that specifies the filter criteria. The objects that match this criteria will be used to evaluate the expression.

inTransaction

Take into account all in-memory object changes.

 

 

Return Value

The value evaluated.

 

collallSee Also