289
Part III: LINQ to SQL
Figure 15-4
You get this message because the connection string used by select objects contains sensitive information.
If you choose No, the connection string is stored as an application setting (except for the password) to be
used only for the duration of the design session. Once the designer is closed, the connection information
is no longer held.
Selecting Yes stores the connection string information as an application setting, such as the application
configuration file. This is not secure because connection information is stored as plain text.
The connection information is obtained by making a connection in the Server Explorer window. From the
View menu, select Server Explorer. In the Server Explorer window, you will see two nodes, one for Data
Connections and one for Servers. Right-click the Data Connections node and select Add Connection. In
the Add Connections dialog, enter the appropriate information to make a connection to your database
server.
This connection information will be stored with the DataContext and O/R Designer.
Pages:
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463