Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

MSSqlConnectionProvider.GlobalUseLegacySqlClient Field

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

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Xpo.v21.1.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