How to: Modify Model Names After Model Generation
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.
After the domain model is already generated, the naming rules could be still changed.
Changing the settings in the Model Settings dialog won't affect the already generated persistent classes. However, if you include new entities by using the Update from Database wizard, the new persistent classes, fields and properties will be generated respecting the new naming settings.
To change the naming settings when the domain model is already generated, perform the following steps:
- Open the RLINQ file in the Visual Designer.
- Right-click onto the design surface, then select Show Model Settings.
-
In the Model Settings dialog, navigate to the Model Names tab page.
You can modify the names of the already generated domain classes by using the Model Operations dialog. Another approach you can take is to delete the domain class from designer and drag it again from the Model Schema Explorer. The new name of the class will respect the modified naming settings.