DataSourceModelWithConnectionBase.ShouldSaveConnection Property
Specifies how and where to store the connection string.
Namespace: DevExpress.DataAccess.Wizard.Model
Assembly: DevExpress.DataAccess.v25.1.dll
NuGet Package: DevExpress.DataAccess
Declaration
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