Drop and Create Table

Thread is closed for posting
2 posts, 0 answers
  1. Orlando
    Orlando avatar
    1 posts
    Member since:
    Jun 2013

    Posted 31 Jul 2013 Link to this post

    Hy there,

    Im having a hard time to adding a table to the EntitiesModel since i've drop one table directly on SQL, then deleted the object class and updated the model by deleting the table in the EntitiesModel, then i've created the table (with the same name) and the entitesmodel cant locate it.
    It appears on the first step on the wizard "update from database" but then i click next and it dosent apear.

    How can i add the table again?

    OpenAccess (2013.2.611.1)

    Thanks in advance,

  2. Boris Georgiev
    Boris Georgiev avatar
    190 posts

    Posted 01 Aug 2013 Link to this post

    Hi Orlando,

    Unfortunately I was not able to reproduce the issue on our side. I tried to reproduce it with the following steps:

    1) Create a domain model from a database.
    2) Delete a table from the database.
    3) Delete the domain class mapped to the deleted table.
    4) Delete the table from the domain model from the Model Schema Explorer window.
    5) Create a table with the same name in the database.
    6) Use "Update from  Database" wizard to create a new domain class.

    Could you please confirm the steps above?

    I am looking forward to your feedback.

    Boris Georgiev
    OpenAccess ORM Q2 2013 brings you a more powerful code generation and a unique Bulk Operations support with LINQ syntax. Check out the list of new functionality and improvements shipped with this release.
Back to Top