*DEPRECATED*

        Performs the __save__ method, if it has been declared.
        If not, this function raises a CannotSave exception.
        .save() does *not* implicitly commit the model.
        To commit, it must be done manually.

def save(self):

        """
        *DEPRECATED*

        Performs the __save__ method, if it has been declared.
        If not, this function raises a CannotSave exception.
        .save() does *not* implicitly commit the model.
        To commit, it must be done manually."""

        if hasattr(self, "__save__"):

            args = self.__save__.args()
            my_args = {}
            for arg in args:
                my_args[arg] = self.__dict__.get(arg, None)
            rs = self.__save__(**my_args).fetchone()

            for arg in self.table:
                if arg in rs:
                    self.__dict__[arg] = rs[arg]
        else:
#            from simpycity import CannotSave
            raise NotImplementedError("Cannot save without __save__ declaration.")