Why can't I drag tables from the Server Explorer to the .edmx designer pane? I've done this before in the exact same steps and it worked, but since yesterday instead of getting the classic + sign for dropping items, I get the no entry symbol (circle with slash in the middle).
What am I doing wrong? As I said, I've done this before but now it doesn't let me drag things.
Please don't take this the wrong way but are you absolutely sure :)? Linq to SQL supports drag-and-drop via the Server Explorer but as far as I'm aware the only way to do this sort of thing in Entity Framework is by choosing the "Update Model from Database..." context menu option and picking your tables from the list.
I'm assuming here that you're using Entity Framework based on your saying ".edmx" (Linq to SQL uses the .dbml format).
Seems too late but may be this help somebody:
Ensure that the table you're trying to drag has Primary Key defined!
This is how I ended up getting tables in diagram.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With