Using a Linq-To-SQL class automagically generates the connection string for me; is there a way to ma

Posted by Sergio Tapia on Stack Overflow See other posts from Stack Overflow or by Sergio Tapia
Published on 2010-06-17T15:28:15Z Indexed on 2010/06/17 15:33 UTC
Read the original article Hit count: 369

Filed under:
|
|
|

I'm just beginning to use Linq-to-SQL and it's just wonderful to use. The problem is, this software is going to be run on a lot of machines and each machine will have a unique connection string.

Is there a way for me to manually set the connection the Linq-to-SQL (.dbml) uses?

The way I'm doing things now is creating the .dbml file, and in the graphic designer I'm dragging tables from the Server Explorer to the white board of the .dbml.

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET