0 Replies Latest reply: Oct 26, 2012 2:04 PM by 965442 RSS

    Problem with DataModel after remove the fk in database

      When i remove from table foreign key my data model (edmx file) is not generate correctly(model is update from database, from editor i add in primary key this propery StoreGeneratedPattern="Identity). After build solution get error:
      The associated metadata type for type 'MyPrj.Web.SomeClass' contains the following unknown properties or fields...
      I think that some automatic generated class are cached but i can't remove or recreate its.
      I spend a lot of hours trying to resolve this problem but without success :(