0

I am trying to create an Entity Data Model from a SQL Server database using ADO.net in Visual Studio 2012 and I am facing an error that is about the key (primary and foreign):

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

Is there anyone to help me for solving this problem?

Thanks.

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459

0 Answers0