none
EF and Primarykeys (View) RRS feed

  • Frage

  • Hello,

    I got a little Problem with EF: I added a View into it and defined the primary Keys. But after updating from the Database it still says:

    The table/view 'MyTable'does not have a primary key defined. The key has been inferred and the definition was created as a read-only table/view. 

     

    But I need it writable...I also checked the Mapping - no difference.

     

    Do you have any Ideas ?

     

    Thank you

    Mittwoch, 16. Februar 2011 13:48