EFCoreObjectSpace Members
In This Article
#Constructors
Name | Description |
---|---|
EFCore |
Initializes a new instance of the EFCore |
#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 |
create |
|
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 |
Throw |
#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. |
Connection |
Gets an IDb |
Database |
Returns the name of a database that specified in the Object Space’s EFCore |
Db |
Returns the Db |
Is |
Indicates whether the Object Space is currently committing the changes made to its object |
Is |
For internal use. |
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. |
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 are created, modified, or deleted but not committed to the database. |
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.
Inherited from Composite |
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.
Inherited from Composite |
Can |
Indicates whether instances of a particular type can be created.
Inherited from Composite |
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 |
|
Create |
|
Create |
Creates a nested Object Space. |
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 to parse a Criteria |
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 the current EFCore |
Enable |
Specifies whether objects should be removed from the specified collection and database simultaneously. |
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 |
|
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 criteria. |
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 specified collection on the server side. |
Get |
|
Get |
|
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 |
Returns the name of a key property of the specified type. |
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.
Inherited from Composite |
Get |
Inherited from Base |
Get |
Returns the key property’s value of the specified object, converted to a string representation.
Inherited from Base |
Get |
|
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 persistent 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.
Inherited from Composite |
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 |
|
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 |
|
Get |
Returns a collection of persistent objects marked as deleted in a transaction that currently is in progress. |
Get |
Returns a collection of persistent objects that are added, deleted, or modified in a transaction that is currently in progress. |
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 and this is committed to the database. |
Is |
|
Is |
Indicates whether the specified object is disposed of. |
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 is created but not saved to the database. |
Is |
Specifies whether objects should be removed from the specified collection and database simultaneously. |
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 |
Checks whether or not the specified object is marked as deleted but still exists in the database. |
Is |
Checks if the specified object is changed and whether or not it should be saved to a database. |
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 and reloads its contents from a database. |
Reload |
Updates the specified object in the current Object Space’s EFCore |
Remove |
Removes the specified object from the object context, and then attaches it again to remove all uncommitted changes. |
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 |
|
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