Always Encrypted with secure enclaves using SqlConnection

Connection string

This .NET Framework Data Provider for SQL Server connection string can be used for connections to SQL Server 2019.

Data Source=myServer;Initial Catalog=myDB;Integrated Security=true;
Column Encryption Setting
=enabled;

Enclave Attestation Url
=http://hgs.bastion.local/Attestation;

Always Encrypted in System.Data.SqlClient is available only for .NET Framework, not .NET Core. To use Always Encrypted in .NET Core switch to Microsoft.Data.SqlClient (NuGet-package).