Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to handle multiple Entity servers?
Message
From
06/12/2010 13:43:13
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
06/12/2010 12:47:57
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
VB 9.0
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01491854
Message ID:
01491872
Views:
42
>>I work at work with a workstation with a local SQL Server 2008 R2 Express.
>>I work at home with a PC with a local SQL Server 2008 R2 Express.
>>These are development locations.
>>When I go to a production server it will be on my company's server, probably with SQL Server 2008.
>>
>>I could have three different servers with three different instances.
>>
>>I'll be using MM 3.6 or MM 4.0 to create the applications.
>>
>>How do I handle three different servers, with different names using MM 4.0 and the Entity Framework?
>>
>>Do I have to create three different applications?
>>
>>Any ideas about this?
>>
>>Thanks.
>
>Hi Tony,
>
>I'm not sure I understand what you are asking, but connecting to a database is just a matter of setting the proper connection string in your config file. This way, just keep a config file on each PC that connects to the appropriate database.
>
>Of course, I am not doing Entity Framework stuff yet, but I would guess it's pretty much the same

Yes this is correct, and there is also another connection for the Entity Framework probably at the bottom. These can be saved in the confi file differently for each location as Frank says.
Tim
Timothy Bryan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform