/// <summary>
 ///
 /// </summary>
 /// <param name="importer"></param>
 /// <param name="data"></param>
 /// <param name="npgsqlDbType"></param>
 /// <param name="cancellationToken"></param>
 /// <returns></returns>
 private static async Task BinaryImportWriteAsync(NpgsqlBinaryImporter importer,
                                                  object data,
                                                  NpgsqlDbType?npgsqlDbType,
                                                  CancellationToken cancellationToken = default)
 {
     if (data == null)
     {
         await importer.WriteNullAsync(cancellationToken);
     }
     else
     {
         if (npgsqlDbType != null)
         {
             await importer.WriteAsync(data, npgsqlDbType.Value, cancellationToken);
         }
         else
         {
             await importer.WriteAsync(data, cancellationToken);
         }
     }
 }