Data Access has been discontinued. Please refer to this page for more information.

Problems

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 section gathers most common issues that occur when working with Telerik Data Access:

I cannot see the Telerik menu items for Telerik Data Access in Visual Studio as they are shown in the documentation. How can I enable them?

Telerik Data Access has an older version of menus and a newer version. You can switch between them using an option as described here. In order to make all the latest features available through the menu, you need to use the new version. But if you would like to start the old wizards (and use the Classic API) you should switch to the old menu entries.

I am adding items in the navigation collection property (e.g. adding new Order objects in the customer.Orders collection) but those items are not persisted in the database. What is wrong?

In order to use the collection properties to add items in an one-to-many relationship, you have to explicitly set the IsManaged property for the target end of the association to True. The default value for the IsManaged property is False.

I am getting validation errors when saving my domain model in the Visual Designer. What should I do?

The domain model is always validated when you make changes and save it. You can double click on any of the errors in order to open the Validation Dialog, where you will be offered manual or automatic actions for fixing the problems. Note that validation errors are not fatal errors; a project will build successfully even when a model has validation errors. This is because of the fact that the validation rules are there to help you to locate possible runtime problems at an early state. However, unresolved validation errors could lead to unexpected exceptions during runtime.

I am getting validation warnings when saving my domain model in the Visual Designer. What should I do?

The warnings that are currently shown when the model is saved are presenting you the specifics of the current model that you need to be aware of in order to properly work with it. Please, read them carefully and make sure you understand what they mean and why are they enlisted. Note that many warnings will not require any action from your side and cannot be removed, they are just informative.