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

2 posts, 0 answers
  1. David
    David avatar
    12 posts
    Member since:
    Sep 2012

    Posted 03 Feb 2012 Link to this post

    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.
  2. Ivailo
    Admin
    Ivailo avatar
    318 posts

    Posted 08 Feb 2012 Link to this post

    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 >>
  3. DevCraft banner
Back to Top