.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

XpoDefault.ActiveConnectionString Property

Gets the connection string which is used by newly created connection providers.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll

Declaration

public static string ActiveConnectionString { get; }
Public Shared ReadOnly Property ActiveConnectionString As String
public static string ActiveConnectionString { get; }
Public Shared ReadOnly Property ActiveConnectionString As String

Property Value

Type Description
String

A String value that specifies the connection string.

Property Value

Type Description
String

A String value that specifies the connection string.

Remarks

Use the XpoDefault.ConnectionString property to specify the default connection string.

For more information, see Data Access Layer and How to: Connect to a Data Store.

See Also