IDataComponentModelWithConnection.ShouldSaveConnection Property
If implemented, specifies how and where to store the connection string.
Namespace: DevExpress.DataAccess.Wizard.Model
Assembly: DevExpress.DataAccess.v24.1.dll
NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap
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