XPObjectSpace Members
In This Article
#Constructors
Name | Description |
---|---|
XPObject |
Creates a new instance of the XPObject |
XPObject |
Creates a new instance of the XPObject |
XPObject |
Creates a new instance of the XPObject |
#Fields
Name | Description |
---|---|
Auto |
Specifies whether an Object Space’s Commit |
Auto |
Specifies whether Object Spaces dispose of their inner Object Spaces from the Additional |
Auto |
Specifies whether Object Spaces refresh their inner Object Spaces from the Additional |
Composite |
For internal use.
Inherited from Base |
Instant |
|
Instant |
|
Suppress |
For internal use.
Inherited from Composite |
Throw |
Certain Object Space methods have the Type parameters. This static field indicates whether these methods throw the Argument |
Track |
Specifies whether or not the current Session tracks persistent object property modifications. |
#Properties
Name | Description |
---|---|
Additional |
Gets the list of Object Spaces used to handle objects that do not belong to the current Object Space. We recommend that you call the Populate |
Async |
Obsolete. This property is obsolete (use the ‘Instant |
Async |
Obsolete. This property is obsolete (use the ‘Instant |
Auto |
Specifies whether the current Object Space’s Commit |
Auto |
Specifies whether the current Object Space disposes of its inner Object Spaces from the Additional |
Auto |
Specifies whether the current Object Space refreshes its inner Object Spaces from the Additional |
Can |
For internal use.
Inherited from Base |
Connection | Gets the connection to the underlying data source. |
Database |
Gets the name of the database used when a connection associated with the current Object Space’s XPObject |
Instant |
Specifies what properties should be mapped on a grid in the Instant |
Is |
Specifies whether an asynchronous operation is in progress. |
Is |
Indicates whether the Object Space is currently committing the changes made to its object |
Is |
Indicates whether the XPObject |
Is |
Indicates whether the current Object Space is about to delete an object |
Is |
Gets a value indicating whether an Object Space has been disposed of.
Inherited from Base |
Is |
Specifies whether objects belonging to the current Object Space are modified.
Inherited from Base |
Is |
Gets a boolean value indicating whether or not the Object Space is reloading.
Inherited from Base |
Locking |
Specifies whether or not the additional locking check is performed.
Inherited from Base |
Modified |
Returns a collection of objects that have been created, modified or deleted after they were retrieved or committed. |
Non |
Specifies whether the Base |
Owner |
Specifies the current Object Space’s root View or the root Object Space if the current Object Space is added to the Additional |
Service |
Gets the IService |
Session | Provides access to a Session that is used to load and save persistent objects. |
Types |
Gets information on the business classes added to the Application Model (see IModel |
Xpo |
#Methods
Name | Description |
---|---|
Apply |
Filters a particular collection on the server side. |
Apply |
Filters a particular collection on the client side. |
Can |
Indicates whether collections of a particular type can be filtered on the server side. |
Can |
Indicates whether a particular collection can be filtered on the client side. |
Can |
Indicates whether instances of a particular type can be created. |
Combine |
Combines criteria operators passed as parameters. |
Commit |
Saves all the changes made to the persistent objects belonging to the current Object Space to the database.
Inherited from Base |
Commit |
Asynchronously saves all the changes made to the persistent objects belonging to the current Object Space to the database. |
Complete |
For internal use.
Inherited from Base |
Contains |
Indicates whether a specified object belongs to the current Object Space. |
Convert |
Returns the list of Data |
Convert |
Returns the string representation of a given sort list.
Inherited from Base |
Convert |
Converts the sorting string into the sorting list.
Inherited from Base |
Create |
For internal use.
Inherited from Base |
Create |
Creates and initializes a collection of objects of the specified type, filtered according to the specified criteria and sorted according to the given sorting list.
Inherited from Base |
Create |
Creates and initializes a collection of objects of the specified type, filtered according to the specified criteria.
Inherited from Base |
Create |
Creates and initializes a collection of objects of the specified type.
Inherited from Base |
Create |
Returns a list of data records retrieved from the database without loading complete business classes (a data view).
Inherited from Base |
Create |
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.
Inherited from Base |
Create |
Creates an Instant |
Create |
|
Create |
|
Create |
Creates a nested Object Space. |
Create |
Creates an object of the specified type.
Inherited from Composite |
Create |
Creates an object of the type designated by the specified generic type parameter.
Inherited from Base |
Create |
Used when parsing a Criteria |
Create |
Creates and initializes a new instance of the XPServer |
Create |
|
Create |
|
Create |
|
Delete |
Marks the specified persistent objects and their aggregated objects as deleted from the database.
Inherited from Base |
Delete |
Marks the specified persistent object and its aggregated objects as deleted from persistent storage.
Inherited from Base |
Dispose() |
Releases all resources used by an XPObject |
Enable |
Enables/disables the deletion of persistent objects from the data source when they are removed from the specified collection. |
Equals |
Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals |
Determines whether the specified object is equal to the current object. Inherited from Object. |
Evaluate |
Evaluates the specified criteria for business objects of the given type. |
Evaluate |
Asynchronously evaluates the specified criteria for business objects of the given type. |
Find |
Searches for the first object which matches the specified criteria. |
Find |
Searches for the first object of the specified type, matching the specified criteria.
Inherited from Base |
Find |
Searches for the first object of the type designated by the specified generic type parameter, matching the specified criteria.
Inherited from Base |
Find |
Searches for the first object of the type designated by the specified generic type parameter, matching the specified criteria.
Inherited from Base |
Find |
Asynchronously searches for an object that matches the specified criteria. |
Find |
Asynchronously searches for an object that matches the specified criteria. The specified generic parameter determines the object’s type. |
Find |
Asynchronously searches for an object that matches the specified criteria. This object’s type is designated by the specified generic parameter. |
Find |
Determines the Object Space used to load and save a specified persistent object. |
First |
Searches for the first object that matches the specified lambda expression. The generic parameter determines the object’s type. This method takes uncommitted changes into account. |
First |
Searches for the first object that matches the specified lambda expression. The generic parameter determines the object’s type.
Inherited from Base |
Get |
Returns the criteria applied to a specific object’s associated collection property.
Inherited from Base |
Get |
|
Get |
Returns the sort settings for a particular collection. |
Get |
Returns the criteria used to filter a particular collection on the server side. |
Get |
|
Get |
Gets the properties considered visible by the specified collection. |
Get |
Creates an instance of the Evaluator |
Get |
Creates an Expression |
Get |
Creates an Expression |
Get |
Returns the criteria used to filter a particular collection on the client side. |
Get |
Serves as the default hash function. Inherited from Object. |
Get |
|
Get |
Gets the name of the specified type’s key property.
Inherited from Base |
Get |
Gets the key property type of the specified business type.
Inherited from Base |
Get |
Returns the key property’s value of the specified persistent object.
Inherited from Base |
Get |
Returns the key property’s value of the specified persistent object. |
Get |
Inherited from Base |
Get |
Returns the key property’s value of the specified object, converted to a string representation. |
Get |
For internal use. |
Get |
Retrieves an object from another Object Space to the current Object Space. |
Get |
Retrieves an 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.
Inherited from Base |
Get |
Asynchronously retrieves an object that corresponds to an IObject |
Get |
Returns the object with the specified handle.
Inherited from Base |
Get |
Returns the persistent object that has the specified value for its key property. |
Get |
Returns a persistent object of the type designated by the specified generic type parameter, with the specified value for its key property.
Inherited from Base |
Get |
Returns the persistent object that has the specified value for its key property. |
Get |
Returns the persistent object that has the specified value for its key property. |
Get |
Returns an object’s handle.
Inherited from Base |
Get |
Converts the key property value string representation into its actual type. |
Get |
Returns an IList collection of objects of the specified type, retrieved to the current Object Space and filtered according to the specified criteria.
Inherited from Base |
Get |
Returns a sorted IList collection of objects of the specified type, retrieved to the current Object Space and filtered according to the specified criteria.
Inherited from Base |
Get |
Returns an IList collection of objects of the specified type, retrieved to the current Object Space and filtered according to the specified criteria.
Inherited from Base |
Get |
Returns an IList collection of objects of the specified type, retrieved to the current Object Space.
Inherited from Base |
Get |
Returns an IList collection of objects of the specified type, retrieved to the current Object Space.
Inherited from Base |
Get |
Returns an IList collection of objects of the specified type, retrieved to the current Object Space and filtered according to the specified criteria.
Inherited from Base |
Get |
Returns a sorted IList collection of objects of the specified type, retrieved to the current Object Space and filtered according to the specified criteria.
Inherited from Base |
Get |
Returns an IList collection of objects of the specified type, retrieved to the current Object Space and filtered according to the specified criteria.
Inherited from Base |
Get |
Returns the number of objects that satisfy the specified criteria.
Inherited from Composite |
Get |
Constructs a criteria that can be used to select the specified list of business objects.
Inherited from Base |
Get |
Gets a queryable data structure that provides functionality to evaluate queries against a specific business object type. |
Get |
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 |
Get |
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 |
Get |
Returns the type of the specified business object.
Inherited from Base |
Get |
Returns the maximum number of objects to be retrieved by the specified collection from a data store. |
Get |
Gets the Type of the current instance. Inherited from Object. |
Is |
For internal use. Use the Is |
Is |
Indicates whether a particular collection is loaded with objects from the database. |
Is |
Indicates whether the specified persistent object is deleted. |
Is |
Returns a value that indicates if the deferred deletion is enabled for persistent objects of a given type. |
Is |
Determines whether an object has been disposed of. |
Is |
|
Is |
Checks whether the Object Space (or any Object Space from its Additional |
Is |
Returns the boolean value indicating whether or not the specified type is known by the Base |
Is |
Indicates whether a specified object has been created but has not been saved to the database. |
Is |
Indicates whether the deletion of persistent objects from the data source when they are removed from the specified collection is enabled. |
Is |
Specifies whether the specified object satisfies the specified criteria.
Inherited from Base |
Is |
Specifies whether a particular object satisfies the specified criteria.
Inherited from Base |
Is |
Indicates whether the specified object has been deleted but not committed in the transaction currently in progress. |
Is |
Indicates whether the specified object has been added, deleted or modified, but not committed in the transaction currently in progress. |
Load |
Asynchronously loads the specified XPCollection collection. |
Memberwise |
Creates a shallow copy of the current Object. Inherited from Object. |
Object |
Inherited from Base |
Parse |
Parses the specified criteria expression in the XPObject |
Populate |
Creates Object Spaces for registered Object Space Providers and adds them to the Additional |
Populate |
Creates Object Spaces for registered Object Space Providers and adds them to the Additional |
Pre |
Asynchronously forces associated collection data loading and delayed property loading for specified parent objects. |
Raise |
This method is intended for internal use. |
Reference |
Determines whether the specified Object instances are the same instance. Inherited from Object. |
Refresh() |
Updates the persistent objects belonging to the current Object Space.
Inherited from Base |
Reload |
Clears a collection, and marks it to be reloaded with data from the database. |
Reload |
Reloads the state of the specified persistent object and its aggregated objects from the data store. |
Reload |
Asynchronously reloads the state of the specified persistent object and its aggregated objects from the data store. |
Remove |
Removes the specified object from the list of objects to be committed. |
Rollback |
Cancels the changes made to the persistent objects belonging to the current Object Space.
Inherited from Base |
Set |
Applies the specified sorting to a given collection. |
Set |
Sets the properties to be visible by the specified collection. |
Set |
Sets the state of the specified object to be Modified.
Inherited from Base |
Set |
Sets the state of the specified object to be Modified.
Inherited from Base |
Set |
Loads specified delayed properties and child collections in each object of a given list. |
Set |
Sets the maximum number of objects that can be retrieved from the specified collection in a data store. |
To |
Asynchronously enumerates all elements in a collection and saves them to a list. |
To |
Returns a string that represents the current object. Inherited from Object. |
Try |
Creates a handle for the specified object if this object is persistent and is not a new one. |
#Events
Name | Description |
---|---|
Committed |
Raised after saving changes made to persistent objects belonging to the current Object Space to the database.
Inherited from Base |
Committing |
Occurs before saving the persistent objects belonging to the current Object Space to the database.
Inherited from Base |
Confirmation |
Occurs when performing refresh or rollback operations with the current Object Space’s persistent objects.
Inherited from Base |
Connected |
Occurs after a connection to a database has been established.
Inherited from Base |
Custom |
Replaces the default process for committing changes made to persistent objects with a custom one.
Inherited from Base |
Custom |
Occurs to replace the default process of deleting persistent objects with a custom one.
Inherited from Base |
Custom |
Occurs to replace the default process of refreshing persistent objects with a custom one.
Inherited from Base |
Custom |
Occurs to replace the default process of persistent objects rollback with a custom one.
Inherited from Base |
Disposed |
Occurs before an Object Space is disposed of.
Inherited from Base |
Modified |
Occurs when the current Object Space’s Base |
Modified |
Occurs before the Is |
Object |
Raised when a persistent object is created, changed or deleted.
Inherited from Base |
Object |
Occurs after the specified objects have been deleted.
Inherited from Base |
Object |
Occurs when the specified objects are about to be deleted.
Inherited from Base |
Object |
Occurs after ending an edit operation taking place on the specified object.
Inherited from Base |
Object |
Occurs after an object has been reloaded from the database.
Inherited from Base |
Object |
Occurs after saving changes made to a specified persistent object to the database.
Inherited from Base |
Object |
Raised before saving changes made to a specified persistent object to the database.
Inherited from Base |
Refreshing |
Occurs before refreshing the current Object Space’s persistent objects.
Inherited from Base |
Reloaded |
Occurs when the Base |
Rolling |
Occurs before rolling back the changes made to the current Object Space’s persistent objects.
Inherited from Base |
See Also