Creates and initializes a collection of objects of the specified type.
NuGet Package: DevExpress.ExpressApp
The type of persistent objects to include in the collection.
A IList collection that includes objects of the specified type.
Use this method to create a collection of objects of the specified type. The newly created collection will use the current Object Space to load and save persistent objects.
If you implement the IObjectSpace interface in the BaseObjectSpace class’ descendant, you should override a virtual protected BaseObjectSpace.CreateCollection method which is called by the BaseObjectSpace.CreateCollection method.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CreateCollection(Type) method.
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.