Automated Schema Update. prevent regeneration specific table

2 posts, 0 answers
  1. Bill
    Bill avatar
    2 posts
    Member since:
    Jul 2010

    Posted 11 Mar 2013 Link to this post

    I'm trying to map a single table from asp.net simple membership into my model. but when the DB is being updated by OA its trying to recreate the simple membership table, which i want to try and prevent
  2. Yordan
    Admin
    Yordan avatar
    39 posts

    Posted 14 Mar 2013 Link to this post

    Hello Bill,

    I assume that you are using the visual designer. OpenAccess provides two options for updating the database in its Update Database from Model wizard - "Create Database" and "Migrate Database". In your case you should pick "Update Database" and then you are able to select which tables to be updated. You may deselect the table you quoted and then OpenAccess will not try to create or update it. Please see the attachment for an example.

    If you have more questions about updating the database, please do not hesitate to contact us for help.

    Regards,
    Yordan
    the Telerik team
    OpenAccess ORM Q1 2013 is out featuring Multi-Diagrams, Persistent Data Stream Support and much more. Check out all of the latest highlights.
  3. DevCraft banner
Back to Top