示例#1
0
        private ICommand TryGet(XTablePortable table, ICommand command)
        {
            TryGetCommand cmd    = (TryGetCommand)command;
            IData         record = null;

            bool exist = table.TryGet(cmd.Key, out record);

            return(new TryGetCommand(cmd.Key, record));
        }
示例#2
0
        private ICommand TryGet(XTablePortable table, ICommand command)
        {
            TryGetCommand cmd = (TryGetCommand)command;
            IData record = null;

            bool exist = table.TryGet(cmd.Key, out record);

            return new TryGetCommand(cmd.Key, record);
        }