public override void VisitDeleteStatement(DeleteStatementSyntax node) { AppendLeadingComments(node); AppendIndented("{0}.delete(", Soql); node.Expression.Accept(this); Append(");"); AppendTrailingComments(node); }
public void ApexDeleteStatementIsGenerated() { var deleteStatement = new DeleteStatementSyntax { Expression = new ExpressionSyntax("contactOld"), }; Check(deleteStatement, @"delete contactOld;"); }
public void ApexDeleteStatementGeneratesSoqlHelperMethod() { var deleteStatement = new DeleteStatementSyntax { Expression = new ExpressionSyntax("contactOld") }; Check(deleteStatement, @"Soql.delete(contactOld);"); }
public virtual void VisitDeleteStatement(DeleteStatementSyntax node) => DefaultVisit(node);