protected override void AppendTo(SqlStringBuilder builder) { string ifExists = IfExists ? "IF EXISTS " : ""; builder.AppendFormat("DROP FUNCTION {0}{1}", ifExists, FunctionName); }