Sunday 15 May 2011

visual studio 2012 - EF many to many with junction entity database first -


I have a journal table and there are several priorities that many relationships feel. Visual Studio automatically recognizes it as many as many relationships and the junction table is not a unit.

How can I feel that this table is produced as a unit? I need air for it. Js.

You just have to add additional columns (or attributes) to it in the table (or model).

You said that the name in your table has been entered and this primary key is set to the correct withe isIdentity . It should work, I am using this approach ...

There should be a problem with your definition of the table or should be missing, however, if everything is fine, then just one in your table Add an empty column and update your model from the database. The problem will go away.

No comments:

Post a Comment