XPObjectSource.ConnectionString Property
In This Article
Specifies a connection string used to connect to a database.
Namespace: DevExpress.Xpo
Assembly: DevExpress.DataAccess.v24.2.dll
NuGet Package: DevExpress.DataAccess
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
String | null | A String that contains database connection parameters. |
#Remarks
This property has effect if a Session object is not created in the XPObjectSource.ResolveSession event handler.
Tip
To improve your application’s maintainability and security, specify the connection string in the application configuration file (App.
See Also