Returns the ID generated for an AUTO_INCREMENT column by the previous query.
property InsertId: int64;
Use the InsertId to return the ID generated for an AUTO_INCREMENT column by the previous query. Use this function after you have performed an INSERT query into a table that contains an AUTO_INCREMENT field.
If the query does not perform an insertion into a table that contains an AUTO_INCREMENT field the value of InsertId won't be defined.