Skip to main content
.NET Framework 4.6.2+

MSSqlConnectionProvider.GlobalUseLegacySqlClient Field

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

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Xpo.v24.2.dll

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