internal virtual void Key(GremlinToSqlContext currentContext) { GremlinKeyVariable newVariable = new GremlinKeyVariable(DefaultVariableProperty()); currentContext.VariableList.Add(newVariable); currentContext.TableReferences.Add(newVariable); currentContext.SetPivotVariable(newVariable); }
internal void Key(GremlinVariable lastVariable) { GremlinKeyVariable newVariable = new GremlinKeyVariable(lastVariable.DefaultVariableProperty()); VariableList.Add(newVariable); TableReferences.Add(newVariable); SetPivotVariable(newVariable); }