public TruncateClause TruncateTable(Table table) { if (table == null) { throw new ArgumentNullException("table"); } var statement = new TruncateTableStatement(this); var clause = new TruncateClause(statement, table); statement.FirstFragment = clause; return(clause); }
public void TruncateClause(SqlFragment parent, TruncateClause truncateClause) { this.Script.Append("TRUNCATE TABLE "); this.Script.AppendFragment(truncateClause.Table, truncateClause, this); }