Am trying to create an EF5 Model First project at work.
After i created the model and clicked generate database from model, at first it wasn't creating the code behind. Looking a bit i found the Code Generation Strategy was set to none. I set it to Default (wonder why none is the default, rather than Default) and regenerated the database.
Now it did create the code, but it won't compile. the error reads - Partial Declaration must not specify different base classes. Only this error is in the generated code, in the container class.
I also notice that the SQLce file has no sintax highlighting and there is no Execute Script option on the right button menu, Wich according to the video at http://msdn.microsoft.com/en-us/data/jj205424.aspx there should be.
Does anyone know how to solve any of this issues?
UPDATE: So i installed VS2012 on a Win8 machine and this is correct in there - back to my original machine (Win7) i uninstalled and installed again and the problem remains. I guess this is a Win7 limitation of sorts - like the no win8 app development on Win7.
But unlike Win8 Apps, there should be no reason not to be able to develop DB apps on Win7, so my question should be rephrased as: Is there something i could install to be able to use the full length of DB tools aimed in VS2012 in Win7?