Built-in Visual Studio Templates
- 2 minutes to read
XPO ships with several Visual Studio templates that simplify the creation of new projects, and speed-up the addition of project items such as persistent objects and data model metadata. These templates can be used in all supported Visual Studio versions (2012, 2013, 2015 or 2017), except for "Express" editions.
Project Item Templates
XPO project item templates are available via the Add | New Item... command in the context menu of Solution Explorer.
The table below lists the project item templates and provides their descriptions.
|DevExpress ORM Data Model Wizard||Invokes the Data Model Wizard, which creates a data model mapped to an existing or newly created database. The model created includes XPO classes and metadata, and can be modified in the Data Model Designer.|
|DevExpress v20.2 ORM Persistent Object||Creates an XPObject descendant that declares a persistent object.|
XPO project templates are available via the File | New | Project... command in the main menu of Visual Studio, and via the Add | New Project... command in the context menu of Solution Explorer. The table below lists the project templates and provides their descriptions.
|DXperience v20.2 ORM OData Service||Invokes the OData v3 Service Wizard, which creates a web service project. This project implements an XPO OData Service, and can also include a visual data model.|