protected GlimpseDbQueryCommandMetadata PullCommand(string connectionId, string commandId) { GlimpseDbQueryCommandMetadata command; if (!Metadata.Commands.TryGetValue(commandId, out command)) { command = new GlimpseDbQueryCommandMetadata(commandId, connectionId); Metadata.Commands.Add(commandId, command); var connection = PullConnection(connectionId); connection.RegiserCommand(command); } return(command); }
protected GlimpseDbQueryCommandMetadata PullCommand(string connectionId, string commandId) { GlimpseDbQueryCommandMetadata command; if (!Metadata.Commands.TryGetValue(commandId, out command)) { command = new GlimpseDbQueryCommandMetadata(commandId, connectionId); Metadata.Commands.Add(commandId, command); var connection = PullConnection(connectionId); connection.RegiserCommand(command); } return command; }