Skip to main content

Select the Connection String

This page allows you to specify a connection string used to establish a data connection. The following options are available:

Default Connection String

Choose the default connection string if it is specified in the application’s configuration file.

EF use default connection string

Custom Connection String

Specify a custom connection string in the connection string editor and choose whether or not to store the string in the application’s configuration file.

how-to-ef-datasource-specify-connection-string

Predefined Connection String

Select an existing connection string available in the current project.

how-to-ef-datasource05

Click Next to navigate to the Bind to a Stored Procedure or Configure Filters page (based on your Entity Framework model and whether it provides stored procedure support).