Welcome Guest ( Log In | Register )

Changing Connection String To Get Chapter 11 Example To Work
Phil_K
post Feb 13 2009, 11:09 PM
Post #1


New Member
*

Group: Members
Posts: 3
Joined: 13-February 09
Member No.: 2,297



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.




Go to the top of the page
 
+Quote Post



Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

RSS Lo-Fi Version Time is now: 22nd November 2009 - 04:26 PM