Exemplo n.º 1
0
        public string GetSqlWithParameters()
        {
            string command = $"Update {TableName} SET { Utilities.RemoveLastComma(Variables.GetFieldOperandParameter("@U"))}";

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