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
;
157
if (null == entityCommand.Parameters || 0 == entityCommand.Parameters.
Count
)
167
Debug.Assert(paramTypeUsage.Count == entityCommand.Parameters.
Count
, "entityParameter collection and query parameter collection must have the same number of entries");
177
StringBuilder sb = new StringBuilder(entityCommand.Parameters.
Count
* EstimatedParameterStringSize);
178
Debug.Assert(paramTypeUsage.Count == entityCommand.Parameters.
Count
, "entityParameter collection and query parameter collection must have the same number of entries");
180
sb.Append(entityCommand.Parameters.
Count
);
System\Data\EntityClient\DbParameterCollectionHelper.cs (5)
76
return
Count
-1;
191
if ((index < 0) || (
Count
<= index)) {
192
throw EntityUtil.EntityParameterCollectionInvalidIndex(index,
Count
);
222
Debug.Assert((null != items) && (0 <= index) && (index <
Count
), "RemoveIndex, invalid");
230
Debug.Assert((null != items) && (0 <= index) && (index <
Count
), "Replace Index invalid");
System\Data\EntityClient\EntityCommand.cs (1)
812
Dictionary<string, TypeUsage> queryParams = new Dictionary<string, TypeUsage>(_parameters.
Count
);
System.Data.Entity.Design (1)
System\Data\Entity\Design\SSDLGenerator\EntityStoreSchemaGeneratorDatabaseSchemaLoader.cs (1)
317
string parameterName = "p" + command.Parameters.
Count
.ToString(CultureInfo.InvariantCulture);