[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Collapse]eXpress Persistent Objects
 [Expand]Product Information
 [Expand]Getting Started
 [Expand]Fundamentals
 [Expand]Feature Center
 [Expand]Concepts
 [Expand]Design-Time Features
 [Expand]Examples
 [Expand]Member Tables
 [Collapse]API Reference
  [Collapse]DevExpress.Xpo
   [Expand]AggregatedAttribute Class
   [Expand]AssociationAttribute Class
    AsyncBehavior Enumeration
    AsyncCommitCallback Delegate
    AsyncSelectDataCallback Delegate
    CacheBehavior Enumeration
    CollectionBindingBehavior Enumeration
   [Expand]ColumnDbDefaultValueAttribute Class
   [Expand]ColumnDefaultValueAttribute Class
   [Expand]CommitObjectStubsResult Class
   [Expand]CustomAttribute Class
   [Expand]CustomCriteriaManager Class
   [Expand]DataViewPropertiesCollection Class
   [Expand]DataViewProperty Class
   [Expand]DataViewRecord Class
   [Expand]DbTypeAttribute Class
    DefaultMembersPersistence Enumeration
   [Expand]DefaultMembersPersistenceAttribute Class
   [Expand]DeferredDeletionAttribute Class
   [Expand]DelayedAttribute Class
   [Expand]DisplayNameAttribute Class
   [Expand]ExplicitLoadingAttribute Class
   [Expand]ExplicitUnitOfWork Class
   [Expand]FetchOnlyAttribute Class
   [Expand]GetObjectStubsByKeyQuery Class
    GuidGenerationMode Enumeration
   [Expand]HiddenAttribute Class
   [Expand]ICustomCriteriaOperatorQueryable Interface
   [Expand]ICustomFunctionOperatorQueryable Interface
   [Expand]IDataLayer Interface
   [Expand]IDataLayerAsync Interface
    IdentityMapBehavior Enumeration
   [Expand]IndexedAttribute Class
   [Expand]IndicesAttribute Class
   [Expand]IObjectLayer Interface
   [Expand]IObjectLayerAsync Interface
   [Expand]IObjectLayerEx Interface
   [Expand]IObjectLayerOnSession Interface
   [Expand]ISerializableObjectLayer Interface
   [Expand]ISerializableObjectLayerEx Interface
   [Expand]IXPModificationsStore Interface
   [Expand]IXPObject Interface
   [Expand]IXPSimpleObject Interface
   [Expand]KeyAttribute Class
   [Expand]LoadDataMemberOrderItem Structure
    LockingOption Enumeration
   [Expand]MapInheritanceAttribute Class
    MapInheritanceType Enumeration
   [Expand]MapToAttribute Class
   [Expand]MemberDesignTimeVisibilityAttribute Class
   [Expand]MergeCollisionBehaviorAttribute Class
   [Expand]NestedUnitOfWork Class
   [Expand]NoForeignKeyAttribute Class
   [Expand]NonPersistentAttribute Class
   [Expand]NullableAttribute Class
    NullableBehavior Enumeration
   [Expand]NullableBehaviorAttribute Class
   [Expand]NullValueAttribute Class
   [Expand]ObjectChangeEventArgs Class
    ObjectChangeEventHandler Delegate
    ObjectChangeReason Enumeration
   [Expand]ObjectManipulationEventArgs Class
    ObjectManipulationEventHandler Delegate
   [Expand]ObjectsByKeyQuery Class
   [Expand]ObjectsManipulationEventArgs Class
    ObjectsManipulationEventHandler Delegate
   [Expand]ObjectsQuery Class
   [Expand]ObjectStubsQuery Class
   [Expand]OptimisticLockingAttribute Class
    OptimisticLockingBehavior Enumeration
   [Expand]OptimisticLockingIgnoredAttribute Class
    OptimisticLockingReadBehavior Enumeration
   [Expand]OptimisticLockingReadBehaviorAttribute Class
    OptimisticLockingReadMergeBehavior Enumeration
   [Expand]PersistentAliasAttribute Class
   [Expand]PersistentAttribute Class
   [Expand]PersistentBase Class
    PersistentCriteriaEvaluationBehavior Enumeration
   [Expand]ResolveSessionEventArgs Class
    ResolveSessionEventHandler Delegate
   [Expand]SchemaInitEventArgs Class
    SchemaInitEventHandler Delegate
   [Expand]SerializableObjectLayer Class
   [Expand]SerializableObjectLayerClient Class
    ServerExceptionThrownAction Enumeration
   [Expand]ServerExceptionThrownEventArgs Class
    ServerExceptionThrownEventHandler Delegate
   [Expand]ServerViewPropertiesCollection Class
   [Expand]ServerViewProperty Class
   [Collapse]Session Class
     Session Members
    [Expand]Session Constructor
    [Expand]Session Properties
    [Expand]Session Events
    [Collapse]Session Methods
      BeginNestedUnitOfWork Method
      BeginTrackingChanges Method
      BeginTransaction Method
     [Expand]BulkLoad Method
     [Expand]BulkLoadAsync Method
      CancelAsyncRequest Method
      ClearDatabase Method
     [Expand]CollectReferencingObjects Method
      CommitTransaction Method
     [Expand]CommitTransactionAsync Method
     [Expand]Connect Method
     [Expand]CreateObjectTypeRecords Method
     [Expand]Delete Method
      Disconnect Method
      DropCache Method
      DropChanges Method
      DropIdentityMap Method
     [Expand]Evaluate Method
      Evaluate<ClassType> Method
     [Expand]EvaluateAsync Method
     [Collapse]EvaluateInTransaction Method
       EvaluateInTransaction(XPClassInfo, CriteriaOperator, CriteriaOperator) Method
       EvaluateInTransaction(Type, CriteriaOperator, CriteriaOperator) Method
      EvaluateInTransaction<ClassType> Method
     [Expand]EvaluateInTransactionAsync Method
      EvaluateInTransactionAsync<ClassType> Method
     [Expand]ExecuteNonQuery Method
     [Expand]ExecuteNonQueryAsync Method
     [Expand]ExecuteQuery Method
     [Expand]ExecuteQueryAsync Method
     [Expand]ExecuteQueryWithMetadata Method
     [Expand]ExecuteQueryWithMetadataAsync Method
     [Expand]ExecuteScalar Method
     [Expand]ExecuteScalarAsync Method
      ExecuteSproc Method
      ExecuteSprocAsync Method
      ExecuteSprocParametrized Method
      ExecuteSprocParametrizedAsync Method
     [Expand]ExplicitBeginTransaction Method
     [Expand]ExplicitBeginTransactionAsync Method
      ExplicitCommitTransaction Method
      ExplicitCommitTransactionAsync Method
      ExplicitRollbackTransaction Method
      ExplicitRollbackTransactionAsync Method
     [Expand]FindObject Method
     [Expand]FindObject<ClassType> Method
     [Expand]FindObjectAsync Method
     [Expand]FindObjectAsync<ClassType> Method
      FlushChanges Method
     [Expand]FlushChangesAsync Method
      GetCacheBehavior Method
     [Expand]GetClassInfo Method
      GetClassInfo<ClassType> Method
      GetIdentityMapBehavior Method
      GetKeyValue Method
     [Expand]GetLoadedObjectByKey Method
      GetLoadedObjectByKey<ClassType> Method
     [Expand]GetObjectByKey Method
     [Expand]GetObjectByKey<ClassType> Method
     [Expand]GetObjectByKeyAsync Method
     [Expand]GetObjectByKeyAsync<ClassType> Method
     [Expand]GetObjects Method
     [Expand]GetObjectsAsync Method
     [Expand]GetObjectsByKey Method
     [Expand]GetObjectsByKeyAsync Method
      GetObjectsByKeyFromQuery Method
      GetObjectsByKeyFromSproc Method
      GetObjectsByKeyFromSprocParametrized Method
     [Expand]GetObjectsFromQuery Method
     [Expand]GetObjectsFromQuery<T> Method
     [Expand]GetObjectsFromSproc Method
     [Expand]GetObjectsFromSproc<T> Method
     [Expand]GetObjectsFromSprocParametrized Method
     [Expand]GetObjectsFromSprocParametrized<T> Method
     [Expand]GetObjectsInTransaction Method
     [Expand]GetObjectsInTransactionAsync Method
     [Expand]GetObjectsToDelete Method
     [Expand]GetObjectsToSave Method
     [Expand]GetObjectType Method
      GetProperties Method
     [Expand]IsNewObject Method
      IsObjectMarkedDeleted Method
     [Expand]IsObjectToDelete Method
     [Expand]IsObjectToSave Method
     [Expand]Load Method
      Load<T> Method
     [Expand]PreFetch Method
     [Expand]PreFetch<T> Method
     [Expand]PreFetchAsync Method
      PreFetchAsync<T> Method
      ProcessReferences Method
     [Expand]PurgeDeletedObjects Method
     [Expand]Reload Method
     [Expand]ReloadAsync Method
      RemoveFromDeleteList Method
      RemoveFromLists Method
      RemoveFromSaveList Method
      RollbackTransaction Method
     [Expand]Save Method
     [Expand]SelectData Method
     [Expand]SelectDataAsync Method
      SelectDataInTransaction Method
      SelectDataInTransactionAsync Method
      SetAsyncRequestPriority Method
      SetKeyValue Method
      ToString Method
      TriggerObjectChanged Method
     [Expand]UpdateSchema Method
      WaitForAsyncRequestComplete Method
   [Expand]SessionManipulationEventArgs Class
    SessionManipulationEventHandler Delegate
   [Expand]SessionObjectLayer Class
   [Expand]SessionOperationFailEventArgs Class
    SessionOperationFailEventHandler Delegate
   [Expand]SimpleDataLayer Class
   [Expand]SimpleObjectLayer Class
   [Expand]SizeAttribute Class
   [Expand]SkipCheckForFeedsAttribute Class
    SortDirection Enumeration
   [Expand]SortingCollection Class
   [Expand]StreamAttribute Class
   [Expand]ThreadSafeDataLayer Class
   [Expand]UnitOfWork Class
   [Expand]ValueConverterAttribute Class
   [Expand]ViewPropertiesCollection Class
   [Expand]ViewProperty Class
   [Expand]ViewRecord Class
   [Expand]VisibleAttribute Class
   [Expand]XPBaseCollection Class
   [Expand]XPBaseObject Class
   [Expand]XPBindingSource Class
   [Expand]XPClassInfoStub Class
   [Expand]XPCollection Class
   [Expand]XPCollection<T> Class
   [Expand]XPCollectionChangedEventArgs Class
    XPCollectionChangedEventHandler Delegate
    XPCollectionChangedType Enumeration
   [Expand]XPCursor Class
   [Expand]XPCustomObject Class
   [Expand]XPDataObject Class
   [Expand]XPDataView Class
   [Expand]XPDelayedProperty Class
   [Expand]XPDictionaryStub Class
   [Expand]XPInstantFeedbackSource Class
   [Expand]XPInstantFeedbackView Class
   [Expand]XPLiteObject Class
   [Expand]XPObject Class
   [Expand]XPObjectSource Class
   [Expand]XPObjectSourcePropertiesCollection Class
   [Expand]XPObjectSourceProperty Class
   [Expand]XPObjectSourceRecord Class
   [Expand]XPObjectStub Class
   [Expand]XPObjectStubCollection Class
   [Expand]XPObjectType Class
   [Expand]XpoDataSource Class
   [Expand]XpoDataSourceInsertedEventArgs Class
    XpoDataSourceInsertedEventHandler Delegate
   [Expand]XpoDefault Class
   [Expand]XPPageSelector Class
   [Expand]XPQuery<T> Class
   [Expand]XPQueryBase Class
   [Expand]XPQueryExtensions Class
   [Expand]XPServerCollectionSource Class
   [Expand]XPServerModeView Class
   [Expand]XPView Class
   [Expand]XPWeakReference Class
  [Expand]DevExpress.Xpo.DB
  [Expand]DevExpress.Xpo.DB.Helpers
  [Expand]DevExpress.Xpo.Exceptions
  [Expand]DevExpress.Xpo.Helpers
  [Expand]DevExpress.Xpo.Metadata
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Session.EvaluateInTransaction Method

Evaluates the specified expression for objects of the specified type, taking into account all in-memory object changes.

Expanded Overload list

  Name Description
Public method object EvaluateInTransaction(XPClassInfo classInfo, CriteriaOperator expression, CriteriaOperator criteria) Evaluates the specified expression for objects of the specified type, taking into account all in-memory object changes.
Public method object EvaluateInTransaction(Type objectType, CriteriaOperator expression, CriteriaOperator criteria) Evaluates the specified expression against objects of the specified type. Accounts for all in-memory object changes.

Expanded See Also

Is this topic helpful?​​​​​​​