56 vtkMySQLDatabase *DatabaseConnector)
88 return GoDBNameDescRow::SaveInDBTemplate< GoDBCellTypeRow >(iDatabaseConnector, *
this);
virtual int DoesThisEntityAlreadyExists(vtkMySQLDatabase *DatabaseConnector)
Pure Virtual :check if the entity already exists in the database based on its own uniqueness definiti...
Abstract. manages the map with the keys matching the fields for the DBtable containing a name and des...
std::string m_TableIDName
virtual int DoesThisNameAlreadyExists(vtkMySQLDatabase *iDatabaseConnector)
check if the name already exists in the database, if yes, return the corresponding ID...
virtual int SaveInDB(vtkMySQLDatabase *DatabaseConnector)
Pure Virtual :check if the entity already exists in the DB, if yes, return the existing ID...
virtual void InitializeMap()
virtual pure. initialize all the values of the map