public static string FormatInsert(InsertStatement insert) { return $@"INSERT INTO {QuoteDottedIdentifier(insert.Table.QualifiedName)} ({QuoteIdentifierList(insert.Columns)}) VALUES ({string.Join(",", insert.Values.Select(p => "@" + p.Name))}) RETURNING *"; }
protected abstract string FormatSql(InsertStatement insert);
protected override string FormatSql(InsertStatement insert) { return SqlFormatter.FormatInsert(insert); }