This is a migrated thread and some comments may be shown as answers.

Is there a quick way to locate entities in the rlinq model?

1 Answer 47 Views
Getting Started
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
David
Top achievements
Rank 1
David asked on 03 Feb 2012, 08:44 PM
Scenario:
I'm starting to use OpenAccess with an existing database that has over 200 hundred tables. When building the model I imported all tables. There are about half a dozen table/entities that I need to remove.
 
Problem:
The only way I know how to remove the entities from the model is to double click on the rlinq file and than locate the entities and delete them. The problem is that there are over 2 hundred entities and it is taking me a very long time to locate the entites. To make matters worse many tables have similar names and the model only displays the first 16 characters. This means that I have to click on each entity that has a similar name so I can see the full name in the properties window.

1 Answer, 1 is accepted

Sort by
0
Ivailo
Telerik team
answered on 08 Feb 2012, 04:21 PM
Hi David,

There are two advises we can currently give you that might help reduce this effort:

1) You can use the OpenAccess Model Explorer to locate your domain classes easily and you can remove them directly from there by the Delete command in the context menu of each item

2) You can just select only the tables you would like to have while reverse-mapping your database schema to a model initially.

In the Q1 release which will be available next week we are going to provide a new tool which might help you perform such tasks - the Batch Operations dialog. While it will not have a "remove operation" out of the box, you will be able to easily filter and review your classes and you can mark those that should be deleted (for example with an underscore in the beginning). As a result, you can find them faster in the Model Explorer.

Kindly let us know if we can be of any further assistance in your OpenAccess ORM evaluation.

 Greetings,

Ivailo
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
Getting Started
Asked by
David
Top achievements
Rank 1
Answers by
Ivailo
Telerik team
Share this question
or