[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
[Collapse]eXpressApp Framework
 [Expand]Fundamentals
 [Expand]Getting Started
 [Expand]Concepts
 [Expand]Design-Time Features
 [Expand]Deployment
 [Expand]Task-Based Help
  Frequently Asked Questions (FAQ)
 [Collapse]API Reference
  [Expand]DevExpress.EasyTest.Framework
  [Collapse]DevExpress.ExpressApp
   [Expand]BaseObjectSpace Class
    CheckCompatibilityType Enumeration
   [Expand]CollectionSource Class
   [Expand]CollectionSourceBase Class
    CollectionSourceDataAccessMode Enumeration
    CollectionSourceMode Enumeration
   [Expand]CollectionSourceModeAttribute Class
   [Expand]CompositeView Class
    ConfirmationResult Enumeration
    ConfirmationType Enumeration
   [Expand]Controller Class
   [Expand]CreateCustomCollectionSourceEventArgs Class
   [Expand]CreateCustomCurrentObjectDetailViewEventArgs Class
   [Expand]CreateCustomLogonParameterStoreEventArgs Class
   [Expand]CreateCustomLogonWindowControllersEventArgs Class
   [Expand]CreateCustomLogonWindowObjectSpaceEventArgs Class
   [Expand]CreateCustomModelCacheManagerEventArgs Class
   [Expand]CreateCustomModelDifferenceStoreEventArgs Class
   [Expand]CreateCustomObjectSpaceProviderEventArgs Class
   [Expand]CreateCustomPropertyCollectionSourceEventArgs Class
   [Expand]CreateCustomTemplateEventArgs Class
   [Expand]CustomCheckCompatibilityEventArgs Class
   [Expand]CustomHasPermissionToEventArgs Class
   [Expand]CustomizeFormattingCultureEventArgs Class
   [Expand]CustomizeLanguageEventArgs Class
   [Expand]CustomizeTemplateEventArgs Class
   [Expand]CustomizeViewShortcutArgs Class
   [Expand]CustomProcessShortcutEventArgs Class
   [Expand]DashboardView Class
   [Expand]DashboardViewCreatedEventArgs Class
   [Expand]DashboardViewCreatingEventArgs Class
    DatabaseUpdateMode Enumeration
   [Expand]DatabaseVersionMismatchEventArgs Class
   [Expand]DefaultListViewOptionsAttribute Class
   [Expand]DetailView Class
   [Expand]DetailViewCreatedEventArgs Class
   [Expand]DetailViewCreatingEventArgs Class
   [Expand]Frame Class
    FrameContext Enumeration
   [Expand]IModelDifference Interface
   [Expand]IModelDifferenceAspect Interface
   [Expand]IModelExtender Interface
    InformationPosition Enumeration
    InformationType Enumeration
   [Collapse]IObjectSpace Interface
     IObjectSpace Members
    [Expand]IObjectSpace Properties
    [Expand]IObjectSpace Events
    [Collapse]IObjectSpace Methods
      ApplyCriteria Method
      ApplyFilter Method
      CanApplyCriteria Method
      CanApplyFilter Method
      CanInstantiate Method
      CommitChanges Method
      Contains Method
     [Expand]CreateCollection Method
     [Expand]CreateDataView Method
      CreateInstantFeedbackCollection Method
      CreateNestedObjectSpace Method
      CreateObject Method
      CreateObject<ObjectType> Method
      CreateParseCriteriaScope Method
      CreateServerCollection Method
     [Expand]Delete Method
      EnableObjectDeletionOnRemove Method
      Evaluate Method
     [Expand]FindObject Method
     [Expand]FindObject<ObjectType> Method
      GetAssociatedCollectionCriteria Method
      GetCollectionSorting Method
      GetCriteria Method
      GetDisplayableProperties Method
      GetEvaluatorContextDescriptor Method
     [Expand]GetExpressionEvaluator Method
      GetFilter Method
      GetKeyPropertyName Method
      GetKeyPropertyType Method
      GetKeyValue Method
      GetKeyValueAsString Method
      GetObject Method
      GetObject<ObjectType> Method
      GetObjectByHandle Method
      GetObjectByKey Method
      GetObjectByKey<ObjectType> Method
      GetObjectHandle Method
      GetObjectKey Method
     [Expand]GetObjects Method
     [Expand]GetObjects<T> Method
      GetObjectsCount Method
      GetObjectsQuery<T> Method
      GetObjectsToDelete Method
      GetObjectsToSave Method
      GetObjectType Method
      GetTopReturnedObjectsCount Method
      IsCollectionLoaded Method
      IsDeletedObject Method
      IsDeletionDeferredType Method
      IsDisposedObject Method
      IsKnownType Method
      IsNewObject Method
      IsObjectDeletionOnRemoveEnabled Method
     [Expand]IsObjectFitForCriteria Method
      IsObjectToDelete Method
      IsObjectToSave Method
      ParseCriteria Method
      Refresh Method
      ReloadCollection Method
      ReloadObject Method
      RemoveFromModifiedObjects Method
      Rollback Method
      SetCollectionSorting Method
      SetDisplayableProperties Method
     [Expand]SetModified Method
      SetTopReturnedObjectsCount Method
   [Expand]IObjectSpaceLink Interface
   [Expand]IObjectSpaceProvider Interface
   [Expand]ISettingsProvider Interface
   [Expand]ISupportNewItemRowPosition Interface
   [Expand]ISupportUpdate Interface
   [Expand]IXafEntityObject Interface
   [Expand]LastLogonParametersReadEventArgs Class
   [Expand]LastLogonParametersReadingEventArgs Class
   [Expand]LastLogonParametersWritingEventArgs Class
   [Expand]ListView Class
   [Expand]ListViewCreatedEventArgs Class
   [Expand]ListViewCreatingEventArgs Class
   [Expand]ListViewFindPanelAttribute Class
   [Expand]LoggingOffEventArgs Class
   [Expand]LogonEventArgs Class
   [Expand]LogonFailedEventArgs Class
    LookupEditCollectionSourceMode Enumeration
   [Expand]LookupEditPropertyCollectionSource Class
    MasterDetailMode Enumeration
   [Expand]MessageOptions Class
   [Expand]ModelCacheManager Class
   [Expand]ModelDifferenceStore Class
   [Expand]ModelStoreBase Class
   [Expand]ModuleBase Class
   [Expand]NestedFrame Class
    Nesting Enumeration
    NewItemRowPosition Enumeration
    NewWindowTarget Enumeration
   [Expand]NonPersistentObjectSpace Class
   [Expand]ObjectChangedEventArgs Class
   [Expand]ObjectManipulatingEventArgs Class
   [Expand]ObjectsCountGettingEventArgs Class
   [Expand]ObjectsManipulatingEventArgs Class
   [Expand]ObjectSpaceCreatedEventArgs Class
   [Expand]ObjectView Class
   [Expand]ObjectViewController Class
   [Expand]ObjectViewController<ViewType, ObjectType> Class
   [Expand]ProcessActionContainerEventArgs Class
   [Expand]PropertyCollectionSource Class
    SchemaUpdateMode Enumeration
   [Expand]SecuritySystem Class
    SelectionType Enumeration
   [Expand]ShowViewParameters Class
   [Expand]ShowViewSource Class
   [Expand]ShowViewStrategyBase Class
    TargetWindow Enumeration
   [Expand]TemplateContext Structure
    UIType Enumeration
   [Expand]ValidateObjectEventArgs Class
   [Expand]View Class
   [Expand]ViewController Class
   [Expand]ViewController<ViewType> Class
   [Expand]ViewCreatedEventArgs Class
   [Expand]ViewCreatingEventArgs Class
   [Expand]ViewItemsChangedEventArgs Class
    ViewItemsChangedType Enumeration
   [Expand]ViewShortcut Class
   [Expand]ViewShowingEventArgs Class
   [Expand]ViewShownEventArgs Class
    ViewType Enumeration
   [Expand]WebMessageOptions Class
   [Expand]Window Class
   [Expand]WindowController Class
    WindowType Enumeration
   [Expand]WinMessageOptions Class
    WinMessageType Enumeration
   [Expand]XafApplication Class
   [Expand]XafDataView Class
   [Expand]XafDataViewRecord Class
   [Expand]XafInstantFeedbackRecord Class
  [Expand]DevExpress.ExpressApp.Actions
  [Expand]DevExpress.ExpressApp.AuditTrail
  [Expand]DevExpress.ExpressApp.Chart
  [Expand]DevExpress.ExpressApp.Chart.Web
  [Expand]DevExpress.ExpressApp.Chart.Win
  [Expand]DevExpress.ExpressApp.CloneObject
  [Expand]DevExpress.ExpressApp.ConditionalAppearance
  [Expand]DevExpress.ExpressApp.Dashboards
  [Expand]DevExpress.ExpressApp.Dashboards.Web
  [Expand]DevExpress.ExpressApp.Dashboards.Win
  [Expand]DevExpress.ExpressApp.Data
  [Expand]DevExpress.ExpressApp.DC
  [Expand]DevExpress.ExpressApp.DC.ClassGeneration
  [Expand]DevExpress.ExpressApp.Editors
  [Expand]DevExpress.ExpressApp.EF
  [Expand]DevExpress.ExpressApp.EF.Utils
  [Expand]DevExpress.ExpressApp.FileAttachments.Web
  [Expand]DevExpress.ExpressApp.FileAttachments.Win
  [Expand]DevExpress.ExpressApp.Filtering
  [Expand]DevExpress.ExpressApp.HtmlPropertyEditor.Web
  [Expand]DevExpress.ExpressApp.HtmlPropertyEditor.Win
  [Expand]DevExpress.ExpressApp.Kpi
  [Expand]DevExpress.ExpressApp.Layout
  [Expand]DevExpress.ExpressApp.Maps.Mobile
  [Expand]DevExpress.ExpressApp.Maps.Mobile.Editors
  [Expand]DevExpress.ExpressApp.Maps.Web
  [Expand]DevExpress.ExpressApp.Maps.Web.Helpers
  [Expand]DevExpress.ExpressApp.MiddleTier
  [Expand]DevExpress.ExpressApp.Mobile
  [Expand]DevExpress.ExpressApp.Mobile.Editors
  [Expand]DevExpress.ExpressApp.Mobile.MobileModel
  [Expand]DevExpress.ExpressApp.Mobile.SystemModule
  [Expand]DevExpress.ExpressApp.Mobile.Templates
  [Expand]DevExpress.ExpressApp.Model
  [Expand]DevExpress.ExpressApp.Model.Core
  [Expand]DevExpress.ExpressApp.Model.NodeGenerators
  [Expand]DevExpress.ExpressApp.ModelEditor
  [Expand]DevExpress.ExpressApp.Notifications
  [Expand]DevExpress.ExpressApp.Notifications.Web
  [Expand]DevExpress.ExpressApp.Notifications.Win
  [Expand]DevExpress.ExpressApp.Office.Win
  [Expand]DevExpress.ExpressApp.PivotChart
  [Expand]DevExpress.ExpressApp.PivotChart.Web
  [Expand]DevExpress.ExpressApp.PivotChart.Win
  [Expand]DevExpress.ExpressApp.PivotGrid
  [Expand]DevExpress.ExpressApp.PivotGrid.Web
  [Expand]DevExpress.ExpressApp.PivotGrid.Win
  [Expand]DevExpress.ExpressApp.Reports
  [Expand]DevExpress.ExpressApp.Reports.Web
  [Expand]DevExpress.ExpressApp.Reports.Win
  [Expand]DevExpress.ExpressApp.ReportsV2
  [Expand]DevExpress.ExpressApp.ReportsV2.Mobile
  [Expand]DevExpress.ExpressApp.ReportsV2.Web
  [Expand]DevExpress.ExpressApp.ReportsV2.Win
  [Expand]DevExpress.ExpressApp.Scheduler
  [Expand]DevExpress.ExpressApp.Scheduler.Web
  [Expand]DevExpress.ExpressApp.Scheduler.Win
  [Expand]DevExpress.ExpressApp.ScriptRecorder
  [Expand]DevExpress.ExpressApp.ScriptRecorder.Web
  [Expand]DevExpress.ExpressApp.ScriptRecorder.Win
  [Expand]DevExpress.ExpressApp.Security
  [Expand]DevExpress.ExpressApp.Security.Adapters
  [Expand]DevExpress.ExpressApp.Security.ClientServer.Wcf
  [Expand]DevExpress.ExpressApp.Security.EF.Adapters
  [Expand]DevExpress.ExpressApp.Security.Strategy
  [Expand]DevExpress.ExpressApp.Security.Xpo.Adapters
  [Expand]DevExpress.ExpressApp.StateMachine
  [Expand]DevExpress.ExpressApp.SystemModule
  [Expand]DevExpress.ExpressApp.Templates
  [Expand]DevExpress.ExpressApp.Templates.ActionContainers
  [Expand]DevExpress.ExpressApp.TreeListEditors
  [Expand]DevExpress.ExpressApp.TreeListEditors.Web
  [Expand]DevExpress.ExpressApp.TreeListEditors.Win
  [Expand]DevExpress.ExpressApp.Updating
  [Expand]DevExpress.ExpressApp.Utils
  [Expand]DevExpress.ExpressApp.Validation
  [Expand]DevExpress.ExpressApp.Validation.Web
  [Expand]DevExpress.ExpressApp.Validation.Win
  [Expand]DevExpress.ExpressApp.ViewVariantsModule
  [Expand]DevExpress.ExpressApp.Web
  [Expand]DevExpress.ExpressApp.Web.Controls
  [Expand]DevExpress.ExpressApp.Web.Editors
  [Expand]DevExpress.ExpressApp.Web.Editors.ASPx
  [Expand]DevExpress.ExpressApp.Web.SystemModule
  [Expand]DevExpress.ExpressApp.Web.Templates
  [Expand]DevExpress.ExpressApp.Web.Utils
  [Expand]DevExpress.ExpressApp.Win
  [Expand]DevExpress.ExpressApp.Win.Core
  [Expand]DevExpress.ExpressApp.Win.Editors
  [Expand]DevExpress.ExpressApp.Win.Model
  [Expand]DevExpress.ExpressApp.Win.SystemModule
  [Expand]DevExpress.ExpressApp.Win.Templates
  [Expand]DevExpress.ExpressApp.Win.Templates.Navigation
  [Expand]DevExpress.ExpressApp.Win.Utils
  [Expand]DevExpress.ExpressApp.Workflow
  [Expand]DevExpress.ExpressApp.Workflow.Win
  [Expand]DevExpress.ExpressApp.Xpo
  [Expand]DevExpress.ExpressApp.Xpo.Utils
  [Expand]DevExpress.Persistent.Base
  [Expand]DevExpress.Persistent.Base.General
  [Expand]DevExpress.Persistent.Base.ReportsV2
  [Expand]DevExpress.Persistent.Base.Security
  [Expand]DevExpress.Persistent.BaseImpl
  [Expand]DevExpress.Persistent.BaseImpl.EF
  [Expand]DevExpress.Persistent.BaseImpl.EF.PermissionPolicy
  [Expand]DevExpress.Persistent.BaseImpl.PermissionPolicy
  [Expand]DevExpress.Persistent.Validation
[Expand]eXpress Persistent Objects
[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)

IObjectSpace Methods

Declares members implemented by Object Space.

Expanded Public Methods

Show: Inherited
  Name Description
Public method ApplyCriteria Filters the specified collection according to the specified criteria on the server side.
Public method ApplyFilter Filters a particular collection on the client side.
Public method CanApplyCriteria Indicates whether collections of a particular type can be filtered on the server side.
Public method CanApplyFilter Indicates whether a particular collection can be filtered on the client side.
Public method CanInstantiate Indicates whether instances of a particular type can be created.
Public method CommitChanges Saves all the changes made to the persistent objects belonging to the current Object Space to the database.
Public method Contains Indicates whether a specified object belongs to the current Object Space.
Public method CreateCollection Overloaded. Creates and initializes a collection of objects of the specified type.
Public method CreateDataView Overloaded. Returns a list of data records retrieved from a database without loading complete business classes (a data view). Values in each data record can be obtained from specific business class properties directly, or be evaluated by the database server using complex expressions.
Public method CreateInstantFeedbackCollection
Public method CreateNestedObjectSpace Creates a nested Object Space.
Public method CreateObject Creates an object of the specified type.
Public method CreateObject<ObjectType> Creates an object of the type designated by the specified generic type parameter.
Public method CreateParseCriteriaScope Used when parsing a CriteriaOperator represented by a string and containing references to persistent objects.
Public method CreateServerCollection Creates a Server mode collection of objects specified by the objectType parameter.
Public method Delete Overloaded. Deletes the specified persistent objects and their aggregated objects from the database.
Public method Dispose (Inherited from System.IDisposable)
Public method EnableObjectDeletionOnRemove Enables/disables the deletion of persistent objects from the data source when they are removed from the specified collection.
Public method Evaluate Evaluates the specified criteria for business objects of the given type.
Public method FindObject Overloaded. Searches for the first object that matches the specified criteria and is of the specified type. The search takes uncommitted changes into account.
Public method FindObject<ObjectType> Overloaded. Searches for the first object of the type designated by the specified generic type parameter, matching the specified criteria.
Public method GetAssociatedCollectionCriteria Specifies the criteria applied to a specific object's associated collection property.
Public method GetCollectionSorting Returns the sort settings for a particular collection.
Public method GetCriteria Returns the criteria used to filter a particular collection on the server side.
Public method GetDisplayableProperties Gets the properties considered visible by the specified collection.
Public method GetEvaluatorContextDescriptor Creates an instance of the EvaluatorContextDescriptor that is used to supply metadata on the specified type to the ExpressionEvaluator objects.
Public method GetExpressionEvaluator Overloaded. Creates an ExpressionEvaluator object that is used to evaluate whether objects of the specified type satisfy a particular criteria.
Public method GetFilter Returns the criteria used to filter a particular collection on the client side.
Public method GetKeyPropertyName Gets the name of the specified type's key property.
Public method GetKeyPropertyType Gets the key property type of objects of the specified type.
Public method GetKeyValue Returns the key property's value of the specified persistent object.
Public method GetKeyValueAsString Returns the key property's value of the specified object, converted to a string representation.
Public method GetObject Retrieves an object that corresponds to a specific object from another Object Space or to a specific record from a data view created by the CreateDataView method.
Public method GetObject<ObjectType> Gets an object similar to the specified object from another Object Space, to the current Object Space. The returned object is cast by the type designated by the specified generic type parameter.
Public method GetObjectByHandle Returns the object with the specified handle.
Public method GetObjectByKey Returns the persistent object that has the specified value for its key property.
Public method GetObjectByKey<ObjectType> Returns a persistent object of the type designated by the specified generic type parameter, with the specified value for its key property.
Public method GetObjectHandle Returns an object's handle.
Public method GetObjectKey Converts the key property value string representation into its actual type.
Public method GetObjects Overloaded. Returns an IList collection of objects of the specified type, retrieved to the current Object Space and filtered according to the specified criteria.
Public method GetObjects<T> Overloaded. Returns a sorted IList collection of objects of the specified type, retrieved to the current Object Space and filtered according to the specified criteria.
Public method GetObjectsCount Returns the number of objects specified.
Public method GetObjectsQuery<T> Gets a queryable data structure that provides functionality to evaluate queries against a specific business object type.
Public method GetObjectsToDelete Returns a collection of persistent objects that will be deleted when the current transaction is committed, including objects that will be deleted in the parent transaction(s), optionally.
Public method GetObjectsToSave Returns a collection of persistent objects that will be saved when the current transaction is committed, including objects that will be saved in the parent transaction(s), optionally.
Public method GetObjectType Returns the type of the specified business object.
Public method GetTopReturnedObjectsCount Returns the maximum number of objects to be retrieved by the specified collection from a data store.
Public method IsCollectionLoaded Indicates whether a particular collection is loaded with objects from the database.
Public method IsDeletedObject Indicates whether the specified persistent object is deleted and committed.
Public method IsDeletionDeferredType Returns a value that indicates if the deferred deletion is enabled for persistent objects of a given type.
Public method IsDisposedObject Determines whether an object has been disposed of.
Public method IsKnownType Returns the boolean value indicating whether or not the specified type is known by the IObjectSpace.
Public method IsNewObject Indicates whether a specified object has been created but has not been saved to the database.
Public method IsObjectDeletionOnRemoveEnabled Indicates whether the deletion of persistent objects from the data source when they are removed from the specified collection is enabled.
Public method IsObjectFitForCriteria Overloaded. Specifies whether the specified object satisfies the specified criteria.
Public method IsObjectToDelete Indicates whether the specified object has been deleted but not committed in the transaction currently in progress.
Public method IsObjectToSave Indicates whether the specified object has been added, deleted or modified, but not committed in the transaction currently in progress.
Public method ParseCriteria Tries to convert the specified string representation of an expression to its DevExpress.Data.Filtering.CriteriaOperator equivalent.
Public method Refresh Updates the persistent objects belonging to the current Object Space.
Public method ReloadCollection Clears the specified collection.
Public method ReloadObject Updates the specified object with data from the data source.
Public method RemoveFromModifiedObjects Removes the specified object from the list of objects to be committed.
Public method Rollback Cancels the changes made to the persistent objects belonging to the current Object Space.
Public method SetCollectionSorting Applies the specified sorting to a given collection.
Public method SetDisplayableProperties Changes the properties considered visible by a particular collection.
Public method SetModified Overloaded. Sets the state of the specified object to be Modified and adds the passed object to the track list to be committed.
Public method SetTopReturnedObjectsCount Returns the maximum number of objects to be retrieved by the specified collection from a data store.
Top

Expanded See Also

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