Jump to content


Changing Connection String To Get Chapter 11 Example To Work

  • Please log in to reply
No replies to this topic

#1 Phil_K


    New Member

  • Members
  • Pip
  • 3 posts

Posted 13 February 2009 - 11:09 PM

I was pleasantly suprised that the source code compiled! smile.gif

Here is how I figured out how to change the connection string to get the - EFDataServices_VB sourcecode to work.

Create a new 'Dynamic Data Entities Project' using VS 2008. Right click on the new project root and select 'Add New Item'. In the dialog select ADO.NET Entity Data Model. The wizard prompts you for the database to use, select 'NorthwindEF.mdf', select at least one of tables to add to the model.

When finished I then copied the connection string in the web.config file of the new project to the web.config file of the EFDataServices_VB project and it worked.

Phil K.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users