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.