code: static void insert(CallInfo callInfo, DataSet data) {
      Table table = asTable(data.getSource());
      if (data.isEmpty()) {
        throw new InvalidOperationException("Empty data set.");
      }
      table.setDirtyStatus(true);
      doInsert(callInfo, table, data);
    }
docs: Insert a data set onto the database.
  @param callInfo Call information.
  @param data Data Set.