DataBase Tricks. Adapting to DataModel. Trying to insert values with generated keys