Skip to main content
.NET 6.0+

MSSqlConnectionProvider.GlobalUseLegacySqlClient Field

Disables the smart discovery service that loads a data provider library.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Xpo.v23.2.dll

NuGet Package: DevExpress.Xpo

Declaration

public static bool GlobalUseLegacySqlClient

Field Value

Type Description
Boolean

true if the smart discovery service is disabled; otherwise, false.

Remarks

When this option is enabled, MSSqlConnectionProvider uses the System.DataSystem.Data.SqlClient library even if you install a newer SQL client library in your project. Change this option only if you do not use modern SQL client libraries, such as Microsoft.Data.SqlClient.

See Also