How to: Rename Entities Manually
This article is relevant to entity models that utilize the deprecated Visual Studio integration of Telerik Data Access. The current documentation of the Data Access framework is available here.
This topic demonstrates how to manually rename entities using the Model Operation Dialog.
Suppose, you have a domain model based on the SofiaCarRental database.
Starting the Model Operations Dialog
The first step is to start the Model Operations Dialog:
- Open your domain model in the Visual Designer.
Right-click on an empty area and select Model Operations.... This will start the Model Operations Dialog.
Some columns could be edited directly in the GridView. These are the Class Name and Property Name. The Edit mode is activated on a cell level when you press F2 or double-click the cell. When you are ready with the changes, press Enter to commit the changes.
For example, if you want to change the name of the RentalOrder class:
- Select the RentalOrder row in the GridView.
- Select the Class Name cell and press F2.
Change the class name (e.g. RentalOrder_Changed).
Press Enter to commit the changes.