31 references to Parameters
System.Data.Entity (31)
System\Data\Objects\ELinq\CompiledELinqQueryState.cs (1)
50this.Parameters.SetReadOnly(true);
System\Data\Objects\ELinq\ELinqQueryState.cs (9)
172(null == this.Parameters ? 0 : this.Parameters.Count), 173(null == this.Parameters ? null : this.Parameters.GetCacheKey()), 287if (this.Parameters != null) 289bool wasLocked = ((ICollection<ObjectParameter>)this.Parameters).IsReadOnly; 292this.Parameters.SetReadOnly(false); 294this.Parameters.Clear(); 297this.Parameters.SetReadOnly(true);
System\Data\Objects\ELinq\ExpressionConverter.cs (2)
677ObjectParameterCollection objectParameters = inlineQuery.QueryState.Parameters; 691foreach (ObjectParameter prm in inlineQuery.QueryState.Parameters)
System\Data\Objects\Internal\EntitySqlQueryBuilder.cs (8)
185return NewBuilderQuery(leftQuery, leftQuery.ElementType, builder, newSpan, MergeParameters(leftQuery.Parameters, rightQuery.Parameters)); 225return NewBuilderQuery(query, elementType, builder, null, MergeParameters(query.ObjectContext, query.Parameters, parameters)); 276return NewBuilderQuery(query, query.ElementType, builder, allowsLimit, query.Span, MergeParameters(query.ObjectContext, query.Parameters, parameters)); 303return NewBuilderQuery(query, query.ElementType, builder, query.Span, ObjectParameterCollection.DeepCopy(query.Parameters)); 362return NewBuilderQuery(query, typeof(DbDataRecord), builder, null, MergeParameters(query.ObjectContext, query.Parameters, parameters)); 432return NewBuilderQuery(query, clrOfType, builder, query.Span, ObjectParameterCollection.DeepCopy(query.Parameters)); 552return NewBuilderQuery(query, query.ElementType, builder, query.Span, MergeParameters(query.ObjectContext, query.Parameters, parameters));
System\Data\Objects\Internal\EntitySqlQueryState.cs (10)
133ObjectQueryState retState = new EntitySqlQueryState(this.ElementType, _queryText, _queryExpression, _allowsLimit, this.ObjectContext, ObjectParameterCollection.DeepCopy(this.Parameters), Span.IncludeIn(this.Span, includePath)); 176(null == this.Parameters ? 0 : this.Parameters.Count), 177(null == this.Parameters ? null : this.Parameters.GetCacheKey()), 213if (this.Parameters != null) 215this.Parameters.SetReadOnly(true); 233if (this.Parameters != null) 235parameters = new List<DbParameterReferenceExpression>(this.Parameters.Count); 236foreach (ObjectParameter parameter in this.Parameters)
System\Data\Objects\ObjectQuery_TResultType.cs (1)
173return execPlan.Execute<T>(this.QueryState.ObjectContext, this.QueryState.Parameters);