O'Reilly Forums: Changing Connection String To Get Chapter 11 Example To Work - O'Reilly Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Changing Connection String To Get Chapter 11 Example To Work

#1 User is offline   Phil_K 

  • New Member
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 13-February 09

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

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users