Last post Apr 07, 2015 09:22 PM by jsiahaan
Apr 01, 2015 05:30 PM|Markus33|LINK
My solution will not provide with a way to view my model after it is asked to be generated from database objects! Is their some expalnation as to why I do not get the visual model to go with the conext of my database in model view? Thank You, Markus
In my edmx file Diagram I can not see the visual model?
Apr 01, 2015 06:04 PM|jsiahaan|LINK
Make sure that your model has primary key.
Apr 01, 2015 06:45 PM|Markus33|LINK
Jsiahaan, would you be willing enough to take a look at the tutorial and tell me when should I put my keys into the database context. Because I have tried adding the keys except the model still does not show. Thank You, Markus.
Apr 02, 2015 01:32 AM|Kevin Shen - MSFT|LINK
For your issue ,I suggest that you could try to delete your edmx file and regernate it again.
Apr 02, 2015 05:21 AM|jsiahaan|LINK
Could you please post your models?
Apr 03, 2015 08:47 AM|Markus33|LINK
Jsiahaan, wexcatly which files do you need to view. Describe them to me so that I know if Im correct! I was just going to bypasss the model view and see if the program would run, but now I have namespace error take a look?Markus
public partial class Form1 : Form
private void buttonLoad_Click(object sender, EventArgs e)
using (SmurfsEntities se = new
SmurfsEntities()) error code!
var smurfNames = (from m in se.Smurfs select m.Name);
Apr 07, 2015 09:22 PM|jsiahaan|LINK
Sorry for longer response.
Need to have all classes that you need to be on .edmx