public static async Task <U> ExecuteAsScalarWithLogsAsync <U, T>(this IBoundClient <T> boundClient, ILogger logger) where T : class, IDynamicsEntity
        {
            logger.LogInformation($"Executing Dynamics Query: {await boundClient.GetCommandTextAsync()}");
            var result = await boundClient.ExecuteAsScalarAsync <U>();

            return(result);
        }