Base:
property
Count
System.Data.Common.DbParameterCollection.Count
13 references to Count
System.Data.Entity (12)
System\Data\Common\QueryCache\EntityClientCacheKey.cs (6)
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"); 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\EntityClient\DbParameterCollectionHelper.cs (5)
76return Count-1; 191if ((index < 0) || (Count <= index)) { 192throw EntityUtil.EntityParameterCollectionInvalidIndex(index, Count); 222Debug.Assert((null != items) && (0 <= index) && (index < Count), "RemoveIndex, invalid"); 230Debug.Assert((null != items) && (0 <= index) && (index < Count), "Replace Index invalid");
System\Data\EntityClient\EntityCommand.cs (1)
812Dictionary<string, TypeUsage> queryParams = new Dictionary<string, TypeUsage>(_parameters.Count);
System.Data.Entity.Design (1)
System\Data\Entity\Design\SSDLGenerator\EntityStoreSchemaGeneratorDatabaseSchemaLoader.cs (1)
317string parameterName = "p" + command.Parameters.Count.ToString(CultureInfo.InvariantCulture);