code: public String toInsert(Dialect dialect, String ... replacements) {
          return dialect.insert(metaModelLocal, attributes, replacements);
      }
docs: Generates INSERT SQL based on this model with the provided dialect.
  Example:
  <pre>
  String sql = user.toInsert(new MySQLDialect());
  //yields this output:
  //INSERT INTO users (id, email, first_name, last_name) VALUES (1, 'mmonroe@yahoo.com', 'Marilyn', 'Monroe')
  </pre>
  
  @param dialect dialect to be used to generate the SQL
  @param replacements an array of strings, where odd values are to be replaced in the values of the attributes
  and even values are replacements. For instance, your value is "O'Donnel", which contains
  a single quote. In order to escape/replace it, you can:
  
  <code>person.toUpdate(dialect, "'", "''")</code>, which will escape a single quote by two
  single quotes.
  @return INSERT SQL based on this model.