How to update an Entity Data Model? RRS feed

  • Question

  • Hellow, I have an entity data model,

    when I update it from SQLServer, and then go to vs 2010 and click the "Update Model from Database" button of the edm and build again the solution, I get the error :

    Error	The property 'x' of type 'x' is marked with the KeyAttribute.  Derived entities cannot declare key properties.
    However, if I create a new entity data model in a new project, and build it, there are no errors.
    I dont know if thar error is because I have some domain services....
    ¿How can I solve this problem?

    Tuesday, November 29, 2011 5:29 PM


All replies