code: public void init(BaseDatabase database, Record record)
      {
          m_database = database;
          if (m_database != null)
              m_database.addTable(this);
          super.init(record);
          m_objectID = null;
          m_bIsOpen = false;
          m_iRecordStatus = DBConstants.RECORD_INVALID;
      }
docs: Init this table.
  Add this table to the database and hook this table to the record.
  NOTE: For linked tables, only the last table on the chain should be added to the database.
  @param database The database to add this table to.
  @param record The record to connect to this table.