Beispiel #1
0
        private ICommand DeleteRange(XTablePortable table, ICommand command)
        {
            DeleteRangeCommand cmd = (DeleteRangeCommand)command;

            table.Delete(cmd.FromKey, cmd.ToKey);

            return(null);
        }
Beispiel #2
0
        private ICommand Delete(XTablePortable table, ICommand command)
        {
            DeleteCommand cmd = (DeleteCommand)command;

            table.Delete(cmd.Key);

            return(null);
        }
        private ICommand DeleteRange(XTablePortable table, ICommand command)
        {
            DeleteRangeCommand cmd = (DeleteRangeCommand)command;
            table.Delete(cmd.FromKey, cmd.ToKey);

            return null;
        }
        private ICommand Delete(XTablePortable table, ICommand command)
        {
            DeleteCommand cmd = (DeleteCommand)command;
            table.Delete(cmd.Key);

            return null;
        }