Myroslavs answer is the correct one! Just pass the Generated keyholder and it will be populated. As the last argument you can also pass an array with column names and get back multiple columns!