Install the NuGet package.
These methods are enhanced, and they will also call CdcApi internally.
using var connection = new SqlConnection("connectionString");
await connection.OpenAsync().ConfigureAwait(false);
var result = await connection.Cdc().XXXXXX().ConfigureAwait(false);
If you don't like the above commonly used methods and want the full control of CDC API.
using var connection = new SqlConnection("connectionString");
await connection.OpenAsync().ConfigureAwait(false);
var result = await connection.Cdc().Api().XXXXXX().ConfigureAwait(false);