Skip to main content
A newer version of this page is available. .

DataSourceModelWithConnectionBase.ShouldSaveConnection Property

Specifies how and where to store the connection string.

Namespace: DevExpress.DataAccess.Wizard.Model

Assembly: DevExpress.DataAccess.v18.2.dll

Declaration

public SaveConnectionMethod ShouldSaveConnection { get; set; }

Property Value

Type Description
SaveConnectionMethod

A SaveConnectionMethod enumeration value.

Available values:

Name Description
Hardcode

The connection string is hard-coded into the application.

KeepCredentials

The connection string is hard-coded into the application along with the user credentials.

SaveToAppConfig

The connection string is stored in the application’s configuration file.

SaveToAppConfigWithCredentials

The connection string is stored in the application’s configuration file along with the user credentials.

See Also