CompositeObjectSpace Members
In This Article
#Constructors
Name | Description |
---|---|
Composite |
Initializes a new instance of the Composite |
#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 |
Suppress |
For internal use. |
Throw |
Certain Object Space methods have the Type parameters. This static field indicates whether these methods throw the Argument |
#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 |
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.
Inherited from Base |
Database |
Gets the name of the database.
Inherited from Base |
Is |
Indicates whether the Object Space is currently committing the changes made to its object |
Is |
Indicates whether the Base |
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 in the current object context.
Inherited from Base |
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 |
Types |
Gets information on the business classes added to the Application Model (see IModel |
#Methods
Name | Description |
---|---|
Apply |
Filters the specified collection according to the specified criteria on the server side. |
Apply |
Filters the specified collection according to the specified criteria on the client side. |
Can |
Indicates whether collections of a specified type can be filtered on the server side. |
Can |
Indicates whether collections of a specified type can be filtered on the client side. |
Can |
Indicates whether instances of a particular type can be created. |
Commit |
Saves all the changes made to the persistent objects belonging to the current Object Space to the database.
Inherited from Base |
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 |
Creates a nested Object Space.
Inherited from Base |
Create |
Creates an object of the specified type. |
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 EFServer |
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 the current Composite |
Enable |
Enables/disables the deletion of persistent objects from the data source when they are removed from the specified collection.
Inherited from Base |
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.
Inherited from Base |
Find |
Searches for the first object that 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 |
Returns the Object Space used to load and save a specified persistent object. This method is for internal use.
Inherited from Base |
First |
Searches for the first object that matches the specified expression. |
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 collection. |
Get |
Returns the criteria used to filter a specified collection on the server side. |
Get |
Gets the properties considered visible by the specified collection.
Inherited from Base |
Get |
For internal use. |
Get |
Creates an Expression |
Get |
Creates an Expression |
Get |
Returns the criteria used to filter a particular collection on the client side.
Inherited from Base |
Get |
Serves as the default hash function. Inherited from Object. |
Get |
For internal use.
Inherited from Base |
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 object. |
Get |
Inherited from Base |
Get |
Returns the key property’s value of the specified object, converted to a string representation.
Inherited from Base |
Get |
For internal use.
Inherited from Base |
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 |
Returns the object with the specified handle.
Inherited from Base |
Get |
Returns the object whose key property has the specified value. |
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 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. |
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 the specified 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 that the specified collection can retrieve from a data store. |
Get |
Gets the Type of the current instance. Inherited from Object. |
Is |
For internal use. Use the Is |
Is |
For internal use. |
Is |
Indicates whether the specified persistent object is deleted from the database.
Inherited from Base |
Is |
Returns a value that indicates if the deferred deletion is enabled for persistent objects of a given type.
Inherited from Base |
Is |
Determines whether an object has been disposed of.
Inherited from Base |
Is |
For internal use.
Inherited from Base |
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.
Inherited from Base |
Is |
Indicates whether the deletion of persistent objects from the data source when they are removed from the specified collection is enabled.
Inherited from Base |
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 current object context or the transaction currently in progress.
Inherited from Base |
Is |
Indicates whether the specified object has been added, deleted or modified, but not committed in the current object context or the transaction currently in progress.
Inherited from Base |
Memberwise |
Creates a shallow copy of the current Object. Inherited from Object. |
Object |
Inherited from Base |
Parse |
Tries to convert the specified string representation of an expression to its Criteria |
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 |
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 the specified collection. |
Reload |
Updates the specified object in the current Object Space with data from the data source. |
Remove |
Removes the specified object from the object context or the list of objects to be committed.
Inherited from Base |
Rollback |
Cancels the changes made to the persistent objects belonging to the current Object Space.
Inherited from Base |
Set |
Applies the specified sort settings to the collection. |
Set |
Changes the properties considered visible by a particular collection.
Inherited from Base |
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.
Inherited from Base |
Set |
Sets the maximum number of objects that the specified collection can retrieve from a data store. |
To |
Returns a string that represents the current object. Inherited from Object. |
#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