public static object ExecuteScalar(this IDbConnection connection, BaseCommand command)
        {
            IDbCommand dbCommand = command.Build();

            command.Trace?.Write(PDMHelpers.TraceLevel.Info, $@"Executing Query ( {ToInlineString(dbCommand.CommandText)} )");
            return(dbCommand.ExecuteScalar());
        }