I have the following code.

VB Code:
  1. Dim obj as SomeDataObject = New SomeDataObject(1) '1 is the id in the database
  2. obj.delete 'will delete the object from the table.

How can I make it so that if delete is called on that object,it will set itself to nothing? I don't want that object to be valid anymore if the Delete method is called.