19 references to Parameters
System.Data.Entity (17)
System\Data\Common\QueryCache\EntityClientCacheKey.cs (9)
66_parameterCount = entityCommand.Parameters.Count; 157if (null == entityCommand.Parameters || 0 == entityCommand.Parameters.Count) 167Debug.Assert(paramTypeUsage.Count == entityCommand.Parameters.Count, "entityParameter collection and query parameter collection must have the same number of entries"); 172entityCommand.Parameters[0].ParameterName + ":" + 173GetTypeUsageToken(paramTypeUsage[entityCommand.Parameters[0].ParameterName]); 177StringBuilder sb = new StringBuilder(entityCommand.Parameters.Count * EstimatedParameterStringSize); 178Debug.Assert(paramTypeUsage.Count == entityCommand.Parameters.Count, "entityParameter collection and query parameter collection must have the same number of entries"); 180sb.Append(entityCommand.Parameters.Count);
System\Data\Common\Utils\CommandHelper.cs (2)
133int parameterOrdinal = entityCommand.Parameters.IndexOf(storeParameter.ParameterName); 136EntityParameter entityParameter = entityCommand.Parameters[parameterOrdinal];
System\Data\EntityClient\EntityCommand.cs (1)
331return this.Parameters;
System\Data\EntityClient\EntityCommandDefinition.cs (2)
454int parameterOrdinal = entityCommand.Parameters.IndexOf(storeParameter.ParameterName); 456EntityParameter entityParameter = entityCommand.Parameters[parameterOrdinal];
System\Data\Objects\Internal\ObjectQueryExecutionPlan.cs (2)
179int index = entityCommand.Parameters.IndexOf(parameter.Name); 183entityCommand.Parameters[index].Value = parameter.Value ?? DBNull.Value;
System\Data\Objects\ObjectContext.cs (1)
2829command.Parameters.Add(entityParameter);
System.Data.Entity.Design (2)
System\Data\Entity\Design\SSDLGenerator\EntityStoreSchemaGeneratorDatabaseSchemaLoader.cs (2)
317string parameterName = "p" + command.Parameters.Count.ToString(CultureInfo.InvariantCulture); 322command.Parameters.Add(parameter);