Skip to main content
.NET 6.0+

Session.Save(ICollection) Method

Saves the specified persistent objects to a data store.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public void Save(
    ICollection objects
)

Parameters

Name Type Description
objects ICollection

A collection of persistent objects to save in a data store.

Remarks

The Save method also saves all the referenced objects that are aggregated (see the AggregatedAttribute topic for information) and any referenced newly created non-aggregated objects that don’t yet exist in the data store.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Save(ICollection) 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.

See Also