title: How to get primary key after calling ActiveRecord save() method PRADO?
body: <p>I am starting out with PRADO php framework and i have a quick question: How to get the Primary Key of the last inserted record? My codes are as follow:</p>
  
  <pre><code>$studentRecord = new StudentRecord;
  $studentRecord-&gt;Name = $this-&gt;txtName-&gt;SafeText;
  $studentRecord-&gt;ContactNumber = $this-&gt;txtContactNo-&gt;SafeText;
  $studentRecord-&gt;save();
  // $studentId = ???
  </code></pre>
  
  <p>Thanks!</p>