Contents
Programmers
OQL
APIReference
| |
| Telerik OpenAccess ORM |
Send comments on this topic. |
| OpenAccess Menu |
|
Programmers > Development Environment > Integrating With Microsoft Visual Studio .NET > OpenAccess Menu |
A screen shot of the OpenAccess ORM menu is shown below:

The OpenAccess ORM menu has been demarcated as per the operations to be performed. This makes the menu more compact and convenient to use.
The various menu entries present within the OpenAccess ORM menu have been described below:
|
Enable Project |
|
Invokes the Enable Project Wizard, which is used to enable a project to work with OpenAccess ORM, by adding OpenAccess ORM assembly references, setting up the project properties and adding a configuration file to the project (refer to the Enable Project Wizard Section for more information). |
|
Forward Mapping |
|
Invokes the forward mapping wizard, which helps you to create a database schema based on your currently developed class model. The Wizard generates a complete database with all the necessary references between the tables. |
|
Reverse Mapping |
|
Invokes the reverse mapping wizard, which helps you to use an existing database schema within a newly developed application. The Wizard generates a complete data model and the associated mapping information (refer to the Reverse Engineering Wizard Section for more information). |
|
Configuration |
|
It is used to add the following:
|

|
|
Connection Settings
Invokes the Expert Enable Project dialog, which is a single screen wizard used for specifying the settings that needed for enabling a project to work with OpenAccess. This makes enabling/re-enabling of a project easier and faster for users who are familiar with OpenAccess ORM (refer to the Expert Enable Project Wizard Section for more information). |
|

|
|
Backend Configuration
Invokes the backend configuration dialog, which can be used to specify values for various global settings, such as caching or logging levels. The settings specified in this dialog are added to the App.config file (refer to the Backend Configuration Section for more information). |
|

|
|
Check Settings
Invokes the check settings dialog, which checks and resolves ambiguous settings within OpenAccess ORM enabled projects within a solution. It checks for things, such as, assembly references missing, or an OpenAccess ORM version conflict, etc., (refer to the Check Settings Section for more information). |
|

|
|
Update Config References
Updates the App.config file on your machine. This is needed to sync the configuration references in your application with the App.config file present on your machine. The changes made in your application, i.e., the updates to the required references are written into the files present on your machine.
A screen shot of the same is given below:
If you click on Yes or Yes to All the changes are not saved and the earlier values that were present appear in the files. However, if you click on No or No to All, the changes that were made are written into the files, which are present on your machine. | |
|
Add |
|
It is used to add the following:
|

|
|
Add DataForm
Invokes the DataForm Wizard that helps you to generate a complete dialog, which displays database objects of a specific class. The database objects can either be displayed in a grid style or in objects per page style, including additional navigation buttons (refer to the DataForm Wizard Section for more information). |
|

|
|
Add IObjectContext Provider
Invokes the IObjectContextProvider Wizard that provides you with a helper structure, which enables you to connect to a database, using either an ObjectScope, for transactional access or an ObjectContainer for working with in a disconnected environment (refer to the IObjectContextProvider Wizard Section for more information). | |
|
Database Operations |
|
It is used to carry out the following database operations:
|

|
|
Create Database
Creates a new database according to the ConnectionId specified in the project properties (refer to Project Properties - Connection ID for more details).
The database login must have permission to create a database. The database creation step is normally an automatic step within the build of the solution. |
|

|
|
Update Database
Synchronizes your table schema with the persistent classes. It updates an existing database according to the ConnectionId specified in the project properties (refer to Project Properties - Update Database for more details).
 |
The solution needs to be build before using this option.
| | |
|
FetchPlan Browser |
|
Invokes the FetchPlan dialog, which is used to see the object graph that will be retrieved from the database, using the specified fetchplan, thereby providing you with a good overview of the fields that are being fetched. This will help you in defining an optimized fetchplan that will retrieve exactly those fields that are required by your application (refer to the FetchPlan Browser Section for more information). |
|
OQL Query Browser |
|
Invokes the OQL Query Browser dialog, which enables you to parse and execute your OQL queries and get its corresponding SQL statements and results (refer to the OQL Query Browser Section for more information). |
|
Options |
|
Invokes the Options dialog, which is used to customize various settings provided by various OpenAccess ORM wizards, i.e., it customizes the behavior of the OpenAccess ORM wizards. (refer to the Options Dialog for more information). |
|
Help |
|
Calls the following documentation pages:
|

|
|
Getting Started:
This page describes the basics of OpenAccess ORM and shows you how to create, store and retrieve your first persistent object. |
|

|
|
Examples:
This page contains a short description of the various examples that are part of the examples directory of your OpenAccess ORM installation. The included examples demonstrate some of the main features and concepts of OpenAccess. |
|

|
|
Walkthroughs:
This page contains a short description of the various walkthroughs that are included in the documentation. The walkthroughs provide you with step-by-step presentations on various OpenAccess ORM features. |
|

|
|
Visual Studio Integration:
This page contains an overview of the OpenAccess ORM Integration in Visual Studio. | |
|