Session.IsObjectToSave(Object) Method
Indicates whether the specified object is saved in the transaction currently in progress.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v18.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
theObject | Object | The persistent object to test. |
Returns
Type | Description |
---|---|
Boolean | true if the specified object is saved in the transaction currently in progress; otherwise, false. |
Remarks
To get a collection of persistent objects that are saved in the transaction currently in progress, use the Session.GetObjectsToSave method.
For general information on saving persistent objects, see Persisting Objects.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the IsObjectToSave(Object) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.