Deletes the object from the data store.
void Delete(IRepositoryWriter writer)
The default implementation of this method does nothing. This is sufficient for objects without inner objects. If a class has inner objects, it must delete all inner objects for this object from the data store by just calling BeginWriteInnerObjects and EndWriteInnerObjects for all inner objects.