title: How to know which event will affect to which tables in database?
body: <p>Assume that I have a <code>application</code>, with source code and database. I want to know when an <code>event</code> occurred, which tables will be <code>affected</code>. Is there any tool or technical to do that? I am thinking about <code>audit log</code> of database, but I don't know how to link the <code>event</code> and the <code>log</code> automatically.</p>
  
  <p><strong>Note:</strong><br>
   <code>application</code> means a website or a Windows app.<br>
  <code>event</code> means clicked button, typed text box.<br>
  <code>affected database table</code> means read, insert, update or delete data of the table.  </p>
  
  <p>Any suggestion, document of keyword for searching are welcome!</p>