1 instantiation of Command
System.Data.Entity (1)
System\Data\Query\PlanCompiler\ITreeGenerator.cs (1)
265_iqtCommand = new Command(ctree.MetadataWorkspace);
154 references to Command
System.Data.Entity (154)
System\Data\Mapping\FunctionImportMappingComposable.cs (5)
94internal Node GetInternalTree(Command targetIqtCommand, IList<Node> targetIqtArguments) 108Command itree = ITreeGenerator.Generate(tree, discriminatorMap); 123if (!Command.EqualTypes(functionViewType, this.FunctionImport.ReturnParameter.TypeUsage)) 174private FunctionViewOpCopier(Command cmd, Dictionary<string, Node> viewArguments) 180internal static Node Copy(Command cmd, Node viewNode, Dictionary<string, Node> viewArguments)
System\Data\Mapping\ViewGeneration\GeneratedView.cs (2)
206internal Node GetInternalTree(Command targetIqtCommand) 213Command itree = ITreeGenerator.Generate(tree, m_discriminatorMap);
System\Data\Query\InternalTrees\Command.cs (3)
1133Table t = this.CreateTableInstance(Command.CreateTableDefinition(TypeHelpers.GetEdmType<CollectionType>(v.Type).TypeUsage)); 1448VarList varList = Command.CreateVarList(); 1774if (!Command.EqualTypes(arg0.Op.Type, arg1.Op.Type))
System\Data\Query\InternalTrees\Dump.cs (2)
65static internal string ToXml(Command itree) { 75static internal string ToXml(Command itree, Node subtree) {
System\Data\Query\InternalTrees\Metadata.cs (2)
201internal Table(Command command, TableMD tableMetadata, int tableId) 204m_columns = Command.CreateVarList();
System\Data\Query\InternalTrees\NodeInfo.cs (7)
34internal KeyVec(Command itree) 113internal NodeInfo(Command cmd) 167internal virtual void ComputeHashValue(Command cmd, Node n) 230internal ExtendedNodeInfo(Command cmd) 262internal override void ComputeHashValue(Command cmd, Node n) 367internal NodeInfoVisitor(Command command) 374private Command m_command;
System\Data\Query\InternalTrees\Nodes.cs (3)
150internal NodeInfo GetNodeInfo(Command command) 163internal ExtendedNodeInfo GetExtendedNodeInfo(Command command) 174private void InitializeNodeInfo(Command command)
System\Data\Query\InternalTrees\OpCopier.cs (13)
26internal static Node Copy(Command cmd, Node n) 41internal static Node Copy(Command cmd, Node node, VarList varList, out VarList newVarList) 45newVarList = Command.CreateVarList(); 54internal static Node Copy(Command cmd, Node n, out VarMap varMap) 62internal static List<SortKey> Copy(Command cmd, List<SortKey> sortKeys) 74private Command m_srcCmd; 75protected Command m_destCmd; 85protected OpCopier(Command cmd) : this(cmd, cmd) {} 92private OpCopier(Command destCommand, Command sourceCommand) 197VarList newVarList = Command.CreateVarList(MapVars(varList)); 208return Command.CreateSortKey( 1121CollectionInfo newCollectionInfo = Command.CreateCollectionInfo(newCollectionVar, newColumnMap, newFlattendElementVars, newKeys, newSortKeys, ci.DiscriminatorValue);
System\Data\Query\InternalTrees\RuleProcessor.cs (3)
218internal Command Command 272internal RuleProcessingContext(Command command) 279private Command m_command;
System\Data\Query\InternalTrees\Vars.cs (3)
217private Command m_command; 486internal VarVec(Command command) 536private Command m_command;
System\Data\Query\PlanCompiler\AggregatePushdown.cs (8)
286private readonly Command _command; 297Command command, 324Command command, 633private readonly Command _command; 646internal static IEnumerable<GroupAggregateVarInfo> Process(Command itree, out TryGetValue tryGetParent) 661private GroupAggregateRefComputingVisitor(Command itree) 831private readonly Command m_command; 836private AggregatePushdown(Command command)
System\Data\Query\PlanCompiler\CodeGen.cs (1)
146private Command Command { get { return m_compilerState.Command; } }
System\Data\Query\PlanCompiler\CTreeGenerator.cs (3)
321private Command _iqtCommand; 347internal static DbCommandTree Generate(Command itree, Node toConvert) 355private CTreeGenerator(Command itree, Node toConvert)
System\Data\Query\PlanCompiler\ITreeGenerator.cs (13)
62private Command _tree; 66internal ExpressionBindingScope(Command iqtTree, string name, Var iqtVar) 96private readonly Command _command; 103internal LambdaScope(ITreeGenerator treeGen, Command command, Dictionary<string, Tuple<Node, bool>> args) 196private readonly Command _iqtCommand; 246public static Command Generate(DbQueryCommandTree ctree) 254internal static Command Generate(DbQueryCommandTree ctree, System.Data.Mapping.ViewGeneration.DiscriminatorMap discriminatorMap) 1143if (Command.EqualTypes(targetType, nodeVar.Type)) 1163if (Command.EqualTypes(node.Op.Type, targetType)) 1318if (!Command.EqualTypes(e.Left.ResultType, e.Right.ResultType)) 2144TableMD tableMetadata = Command.CreateTableDefinition(e.Target); 2860sortKey = Command.CreateSortKey(specVar, clause.Ascending); 2864sortKey = Command.CreateSortKey(specVar, clause.Ascending, clause.Collation);
System\Data\Query\PlanCompiler\JoinElimination.cs (1)
53private Command Command { get { return m_compilerState.Command; } }
System\Data\Query\PlanCompiler\JoinGraph.cs (2)
483private Command m_command; 507internal JoinGraph(Command command, ConstraintManager constraintManager, VarRefManager varRefManager, Node joinNode, bool isSqlCe)
System\Data\Query\PlanCompiler\KeyPullup.cs (4)
45private Command m_command; 49internal KeyPullup(Command command) 233VarList allKeyVarsMissingFromOutput = Command.CreateVarList(); 266VarList allKeyVarsToAddToOutput = Command.CreateVarList();
System\Data\Query\PlanCompiler\NestPullup.cs (22)
121private Command Command { get { return m_compilerState.Command; } } 256VarList newVarList = Command.CreateVarList(RemapVars(varList, varMap)); 1242VarList flattenedElementVarList = Command.CreateVarList(physicalProjectOp.Outputs); 1276CollectionInfo collectionInfo = Command.CreateCollectionInfo(collectionVar, physicalProjectOp.ColumnMap.Element, flattenedElementVarList, keys, sortKeys, null/*discriminatorValue*/); 1627inputNestOp.PrefixSortKeys.Add(Command.CreateSortKey(sk.Var, sk.AscendingSort, sk.Collation)); 1667sortKeyList.Add(Command.CreateSortKey(sk.Var, sk.AscendingSort, sk.Collation)); 1676sortKeyList.Add(Command.CreateSortKey(sk.Var, sk.AscendingSort, sk.Collation)); 1960VarList outputVars = Command.CreateVarList(op.Outputs.Where(v => v.VarType == VarType.Parameter)); 2050InternalTrees.SortKey sk = Command.CreateSortKey(v); 2057sortKeyList.Add(Command.CreateSortKey(ssnOp.Discriminator)); 2134VarList childFlattenedOutputVars = Command.CreateVarList(); 2148nestOp.CollectionInfo[i - 1] = Command.CreateCollectionInfo(chiCi.CollectionVar, 2182VarList drivingNodeVars = Command.CreateVarList(drivingNodeVarVec); 2276CollectionInfo newCollectionInfo = Command.CreateCollectionInfo( 2355discriminatorVarList = Command.CreateVarList(); 2534VarList projectOutputs = Command.CreateVarList(); 2646VarList unionAllVars = Command.CreateVarList(); 2673private OpCopierTrackingCollectionVars(Command cmd) 2689internal static Node Copy(Command cmd, Node n, out VarMap varMap, out Dictionary<Var, Node> newCollectionVarDefinitions) 2729private Command m_command; 2743private SortRemover(Command command, Node topMostSort) 2751internal static void Process(Command command)
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (6)
111private Command m_command { get { return m_compilerState.Command; } } 370if (Command.EqualTypes(node.Op.Type, targetType)) 683InternalTrees.SortKey newKey = Command.CreateSortKey(v, k.AscendingSort, k.Collation); 1038VarList newVarList = Command.CreateVarList(FlattenVars(varList)); 1427PlanCompiler.Assert(Command.EqualTypes(tvfReturnType, unnestTableColumnVar.Type.EdmType), "Unexpected TVF return type (row type is expected)."); 1813PlanCompiler.Assert(Command.EqualTypes(newType, n.Child0.Op.Type),
System\Data\Query\PlanCompiler\PlanCompiler.cs (2)
89private Command m_command; 179internal Command Command { get { return m_command; } }
System\Data\Query\PlanCompiler\PlanCompilerUtil.cs (1)
113internal static Node CombinePredicates(Node predicate1, Node predicate2, Command command)
System\Data\Query\PlanCompiler\Predicate.cs (3)
57private Command m_command; 66internal Predicate(Command command) 77internal Predicate(Command command, Node andTree)
System\Data\Query\PlanCompiler\PreProcessor.cs (3)
520TableMD tableMD = Command.CreateTableDefinition(relSet); 576TableMD tableMetadata = Command.CreateTableDefinition(entitySet); 1662ScanTableOp scanTableOp = m_command.CreateScanTableOp(Command.CreateTableDefinition(relSet));
System\Data\Query\PlanCompiler\ProjectionPruner.cs (1)
110private Command m_command { get { return m_compilerState.Command; } }
System\Data\Query\PlanCompiler\PropertyPushdownHelper.cs (1)
97internal static void Process(Command itree, StructuredTypeInfo structuredTypeInfo, out Dictionary<Var, PropertyRefList> varPropertyRefs, out Dictionary<Node, PropertyRefList> nodePropertyRefs)
System\Data\Query\PlanCompiler\PropertyRef.cs (1)
144InternalTrees.Command.EqualTypes(m_property.DeclaringType, other.m_property.DeclaringType) &&
System\Data\Query\PlanCompiler\ProviderCommandInfoUtils.cs (2)
53Command command, 85Command command,
System\Data\Query\PlanCompiler\StructuredTypeInfo.cs (2)
141internal static void Process(Command itree, 163private void Process(Command itree,
System\Data\Query\PlanCompiler\SubqueryTrackingVisitor.cs (1)
39protected Command m_command { get { return m_compilerState.Command; } }
System\Data\Query\PlanCompiler\TransformationRules.cs (26)
1322Command command = context.Command; 1390private static Node GetPushdownPredicate(Command command, Node filterNode, VarVec columns, out Node nonPushdownPredicateNode) 1810Command command = trc.Command; 1963Command command = trc.Command; 2231Command command = trc.Command; 2338Command command = trc.Command; 2437Command command = context.Command; 2518Command command = context.Command; 2643Command command = context.Command; 2725Command command = context.Command; 2832Command command = context.Command; 2918Command command = context.Command; 3173private VarDefinitionRemapper(Var oldVar, Command command) 3186internal static void RemapSubtree(Node root, Command command, Var oldVar) 3395Command command = trc.Command; 3555Command command = trc.Command; 3889Command command = trc.Command; 3977Command command = ((TransformationRulesContext)context).Command; 4046private Command m_command; 4048private VarRefReplacer(Dictionary<Var, Node> varReplacementTable, Command command) 4063internal static Node Replace(Dictionary<Var, Node> varReplacementTable, Node root, Command command) 4105private VarRefUsageFinder(VarVec varVec, Command command) 4119internal static bool AnyVarUsedMoreThanOnce(VarVec varVec, Node root, Command command) 4177Command command = context.Command; 4273var command = context.Command; 4428Command command = context.Command;
System\Data\Query\PlanCompiler\VarRefManager.cs (2)
30Command m_command; 38internal VarRefManager(Command command)
System\Data\Query\PlanCompiler\VarRemapper.cs (6)
40protected readonly Command m_command; 48internal VarRemapper(Command command) 58internal VarRemapper(Command command, Dictionary<Var, Var> varMap) 119return Command.CreateVarList(MapVars(varList)); 128internal static VarList RemapVarList(Command command, Dictionary<Var, Var> varMap, VarList varList) 170VarList newList = Command.CreateVarList(MapVars(varList));