51 references to Arguments
System.Data.Entity (51)
System\Data\Common\CommandTrees\BasicExpressionVisitor.cs (1)
517VisitExpressionList(expression.Arguments);
System\Data\Common\CommandTrees\DefaultExpressionVisitor.cs (2)
740IList<DbExpression> newArguments = this.VisitExpressionList(expression.Arguments); 741bool unchanged = (object.ReferenceEquals(expression.ResultType, newType) && object.ReferenceEquals(expression.Arguments, newArguments));
System\Data\Common\CommandTrees\Internal\ExpressionDumper.cs (1)
655Dump(e.Arguments, "Arguments", "Argument");
System\Data\Common\CommandTrees\Internal\ExpressionKeyGen.cs (1)
497foreach (var a in e.Arguments)
System\Data\Common\CommandTrees\Internal\ExpressionPrinter.cs (2)
758foreach (DbExpression element in e.Arguments) 769retInfo.Children.Add(this.VisitWithLabel(description, properties[idx].Name, e.Arguments[idx]));
System\Data\Common\CommandTrees\Internal\PatternMatchRules.cs (1)
300return (e => { if (e.ExpressionKind != DbExpressionKind.NewInstance) { return false; } else { DbNewInstanceExpression newInst = (DbNewInstanceExpression)e; return argumentsPattern(newInst.Arguments); } });
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (7)
235entityConstructor = DbExpressionBuilder.CreateNewEntityWithRelationshipsExpression(constructedEntityType, entityConstructor.Arguments, relatedRefs); 297from pv in constructedEntityType.Properties.Select((p, idx) => Tuple.Create(p, entityConstructor.Arguments[idx])) // new { DependentProperty = p, Value = entityConstructor.Arguments[idx] }) 444Dictionary<string, DbExpression> columnValues = new Dictionary<string, DbExpression>(rowConstructor.Arguments.Count); 445for (int idx = 0; idx < rowConstructor.Arguments.Count; idx++) 448DbExpression columnVal = rowConstructor.Arguments[idx]; 638Dictionary<string, DbExpression> bindings = new Dictionary<string, DbExpression>(innerNew.Arguments.Count); 644bindings[innerResultType.Members[ordinal].Name] = innerNew.Arguments[ordinal];
System\Data\Common\EntitySql\SemanticAnalyzer.cs (6)
3982Debug.Assert(projectionExpression.Arguments.Count == inputVariableTypeProperties.Count, "projectionExpression.Arguments.Count == inputVariableTypeProperties.Count"); 3983for (int i = 0; i < projectionExpression.Arguments.Count; ++i) 3985if (projectionExpression.Arguments[i].ExpressionKind != DbExpressionKind.Property) 3989DbPropertyExpression propertyRef = (DbPropertyExpression)projectionExpression.Arguments[i]; 4312if (rightColl.Arguments.Count == 0) 4317var predicates = rightColl.Arguments.Select(arg => left.Equal(arg));
System\Data\Mapping\Update\Internal\Propagator.cs (2)
264PropagatorResult[] projectedValues = new PropagatorResult[projection.Arguments.Count]; 269projectedValues[ordinal] = Evaluator.Evaluate(projection.Arguments[ordinal], row, this);
System\Data\Mapping\ViewGeneration\DiscriminatorMap.cs (5)
198Debug.Assert(entityType.Properties.Count == constructor.Arguments.Count, "invalid new instance"); 202var assignment = constructor.Arguments[j]; 273for (int i = 0; i < newX.Arguments.Count; i++) 275if (!ExpressionsCompatible(newX.Arguments[i], newY.Arguments[i]))
System\Data\Mapping\ViewGeneration\Structures\CaseStatement.cs (1)
346typeConstructor.Arguments,
System\Data\Mapping\ViewValidator.cs (1)
366DbExpressionMemberCollectionEntitySetInfo argumentSetInfos = VisitExpressionList(expression.Arguments);
System\Data\Objects\ELinq\MethodCallTranslator.cs (7)
2249IList<DbExpression> arguments = ((DbNewInstanceExpression)source).Arguments; 2674if (lojLeft.Arguments.Count != 1 || lojLeft.Arguments[0].ExpressionKind != DbExpressionKind.Constant) 2937for (int i = 0; i < projection.Arguments.Count; ++i) 2939if (projection.Arguments[i].ExpressionKind != DbExpressionKind.Property) 2943var rename = (DbPropertyExpression)projection.Arguments[i]; 2970newProjectionArguments.Add(innerProjection.Arguments[innerPropertyIndex]);
System\Data\Objects\Internal\ObjectSpanRewriter.cs (1)
367columnExpr = newRow.Arguments[idx];
System\Data\Query\PlanCompiler\ITreeGenerator.cs (2)
2077Node newArg = BuildSoftCast(VisitExprAsScalar(e.Arguments[i]), Helper.GetModelTypeUsage(m)); 2086foreach (DbExpression arg in e.Arguments)
System\Data\SqlClient\SqlGen\DmlSqlGenerator.cs (1)
614foreach (DbExpression argument in expression.Arguments)
System\Data\SqlClient\SqlGen\Sql8ConformanceChecker.cs (1)
513return VisitExpressionList(expression.Arguments);
System\Data\SqlClient\SqlGen\SqlGenerator.cs (9)
2913Debug.Assert(e.Arguments.Count <= 1); 2915if (e.Arguments.Count == 1 && e.Arguments[0].ExpressionKind == DbExpressionKind.Element) 2917DbElementExpression elementExpr = e.Arguments[0] as DbElementExpression; 2942if (e.Arguments.Count == 0) 2950foreach (DbExpression arg in e.Arguments) 3264newColumns = new Dictionary<string, Symbol>(e.Arguments.Count); 3268for(int i = 0; i < e.Arguments.Count; ++i) 3270DbExpression argument = e.Arguments[i];