Chapter 14 - try it out - 9 -in DUTCH
Hi im new to this forum and i wanna tell you about my problem (some guy, huh? ;) ) i really hope some of you have the book on ya.
im currently working from chapter 14: LINQ and the ADO.NET Entity Framework. and at the very first TRY IT OUT i had a problem, what happend was that i went from point 1 to point 9 and at 9 ik had to write some C#-code to acces some data in SQL( page 483 - chapter 14 ).
at this point it was known that the code would have some errors and there where 2 solutions to remedy that. one was to add a namespace the other was to hit CTRL + . (CTRL + DOT). and a dialog would open as shown in Figure 14-3. And at that point you had to hit the "Using PlanetWroxModel;" button in the dialog, only i dont get to see the same dialog in the example. i only see the bottom 2 buttons in the dialog: "Generate class for PlanetWroxEntities" and "Generate new type...".
protected void Page_Load(object sender, EventArgs e)
{
using (PlanetWroxEntities myEntities = new PlanetWroxEntities())
{
------[some code that's beyond my point]--------
}
im using Visual Studio 2010, and VWD pretty much gave me the same dialog. if annyone is willing to help me out, that would be great!
Last edited by Niels1986; February 26th, 2011 at 08:27 AM..
Reason: fuzzy post and wrong language
|