My Entity Model not updated with database

Thread is closed for posting
2 posts, 0 answers
  1. S
    S avatar
    10 posts
    Member since:
    Nov 2013

    Posted 08 Sep 2015 Link to this post

    I have a very strange problem. 

    For example, 

    I have a table, ProspectClient. There is a field name PreferredMethod_id and  a constraints link to PreferredMethod. This was fine actually. 

    The problem came in is when I changed field, PreferredMethod_id, to ContactMeBy_id, and remove the previous constraints and add another one to link to ContactMeBy table.

    When I update the Entity Model. The field name changes was made but not the constraints part. No matter how I change the constraint name, remove and update, Add and update. it just doesn't show up as part of the Navigation.

    I have no idea what to do now. 


  2. Kristian Nikolov
    Kristian Nikolov avatar
    206 posts

    Posted 11 Sep 2015 Link to this post


    Thank you for contacting us.

    Generally Telerik Data Access can update the model with changes made to the constraints in the database. We suggest you check the Constraints node in the Model Schema Explorer to see if the changes in the database constraints have been reflected there.

    In case you do not find the expected changes there could you please provide us with the following details:
    1. From the description it appears that the constraint you removed, and the new one you added were Foreign Key constraints. Can you confirm this?
    2. What is the database engine you are using ?

    This information should allow us to gain better understanding of your scenario.

    We are looking forward to your feedback.

    Kristian Nikolov
    Check out the latest announcement about Telerik Data Access vNext as a powerful framework able to solve core development problems.
Back to Top