# File lib/dm-core/resource.rb, line 375
    def destroy!
      if saved? && repository.delete(Collection.new(query, [ self ])) == 1
        @destroyed = true
        @collection.delete(self) if @collection
        reset
        freeze
      end

      destroyed?
    end