Exemplo n.º 1
0
        public string GetSql()
        {
            string command = $"Update {TableName} SET { Utilities.RemoveLastComma(Variables.GetFieldOperandValueasStringorNum())}";

            if (WhereFields.Count() > 0)
            {
                command += $" WHERE {Utilities.RemoveLastComma(WhereFields.GetFieldOperandValueasStringorNum())};";
            }
            return(command);
        }