RE: linqdatasource runtime connection string

Tech-Archive recommends: Fix windows errors by optimizing your registry




By default, LinqDataSource create data context by using default
constructor.

What connection gets used in the default constructor the one hardcoded into
the .dbml file or the one in the web.config?


If I look at the properties for the dbml in the designer their is a
Connection : Application Settings property. The help box says Specifies
whether connection information from the Application Settings File should be
used.

What is the Application Settings File, where is it?


If I change the values in the web.config of the connection string the
designer creates, will the new settings be used?
.



Relevant Pages

  • Re: Changing the "Connection String" for a "Strongly Typed DataSet"
    ... it's the Table Adapter that is using your connection ... string stored in your default settings file, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: VC# 2008 express prretty amazing
    ... Alternatively, if you just open the settings file, add a new setting ... , select "(connection string)", and paste your ... app.config and specify ...
    (microsoft.public.dotnet.languages.csharp)
  • Soupglitch
    ... Since yesterday macsoup only makes a connection to server (virgin) ... after I've closed and reopened the settings file. ...
    (uk.comp.sys.mac)
  • No GUIs in cronstructors?
    ... exception or otherwise allow one to fly from inside the constructor, ... An Applet instance will ask for a Session class from the static ... The Connection constructor just creates a Socket and ...
    (comp.lang.java.programmer)
  • Re: App crash error msg interpretation?
    ... Yes ctor means constructor. ... Do you recognise the class names e.g. AD-Bus ... > connection for me. ... > constructor, but what means this hexadecimal offset value after plus sign. ...
    (microsoft.public.dotnet.framework.compactframework)