locked
UDT - Get reference to table RRS feed

  • Question

  • Hello everyone !

    Given a UDT, is there any way to get a reference to the table where the specific instance is running ?

    IE: Let's suppose we have defined a UDT named UDTPoint; now we define two tables: ATable & BTable, wich both have one column that is defined as UDTPoint.

    When an insert/update/delete operation on ATable or BTable occurs, the UDTPoint class needs to verify in which context it is running (ATable or BTable) before doing operations on data.

    Is there any way to achieve that ?

    Thanks

     

    Giovanni

    Friday, January 12, 2007 8:28 AM