Use DBC Events Sample
File: ...\Samples\Solution\Sedona\Dbcevents.scx
This sample illustrates database events that make it possible for you to perform actions when a database and its objects (tables, views, relations, etc.) are opened, accessed, or manipulated.