45 references to Count
System.Data.Entity (45)
System\Data\Common\Utils\Boolean\Simplifier.cs (3)
62
List<BoolExpr<T_Identifier>> simplifiedChildren = new List<BoolExpr<T_Identifier>>(tree.Children.
Count
);
79
Dictionary<BoolExpr<T_Identifier>, bool> negatedChildren = new Dictionary<BoolExpr<T_Identifier>, bool>(tree.Children.
Count
);
80
List<BoolExpr<T_Identifier>> otherChildren = new List<BoolExpr<T_Identifier>>(tree.Children.
Count
);
System\Data\Mapping\FunctionImportMapping.cs (1)
485
if (reachableTypes.
Count
== this.MappedEntityTypes.Count)
System\Data\Mapping\StorageMappingItemLoader.cs (10)
772
if (0 < setsRequiringQueryViews.
Count
)
898
if (0 < functionMappedTypes.
Count
)
915
if (0 < unmappedTypes.
Count
)
1309
Debug.Assert(isOfTypeEntityTypes.
Count
> 0 || entityTypes.
Count
> 0);
1310
Debug.Assert(!(isOfTypeEntityTypes.
Count
> 0 && entityTypes.
Count
> 0));
1313
if (isOfTypeEntityTypes.
Count
== 1)
1318
else if (entityTypes.
Count
== 1)
3893
if (0 != unmappedParameters.
Count
)
System\Data\Mapping\Update\Internal\AssociationSetMetadata.cs (4)
45
get { return 0 < RequiredEnds.
Count
|| 0 < OptionalEnds.
Count
|| 0 < IncludedValueEnds.
Count
; }
55
bool isRequired = 1 < affectedTables.
Count
;
System\Data\Mapping\Update\Internal\UpdateTranslator.cs (1)
648
if (affectedTables.
Count
== 0)
System\Data\Mapping\Update\Internal\ViewLoader.cs (1)
213
if (0 < isNullConditionColumns.
Count
)
System\Data\Mapping\ViewGeneration\CellCreator.cs (1)
327
if (allTypes.
Count
> 0)
System\Data\Mapping\ViewGeneration\CellTreeSimplifier.cs (1)
271
if (commonLeaves.
Count
== 0)
System\Data\Mapping\ViewGeneration\Structures\BoolLiteral.cs (1)
193
Debug.Assert(range.
Count
== 1, "For BoolLiterals, there should be precisely one value - true or false");
System\Data\Mapping\ViewGeneration\Structures\Domain.cs (1)
104
get { return m_domain.
Count
; }
System\Data\Mapping\ViewGeneration\Structures\LeftCellWrapper.cs (1)
193
if (ends.
Count
== 1)
System\Data\Mapping\ViewGeneration\Structures\MemberDomainMap.cs (2)
120
if (domainValues.
Count
<= 0 || (!domainValues.Contains(Constant.Null) && condition.Domain.Values.Contains(Constant.Null)))
248
if (extra.
Count
> 0)
System\Data\Mapping\ViewGeneration\Structures\MemberRestriction.cs (4)
241
Debug.Assert(constants.
Count
> 0, "one of const is false?");
242
bool isNull = constants.
Count
== 1 && constants.Single().IsNull();
254
else if (constants.
Count
== 1)
269
else if (constants.
Count
== 1)
System\Data\Mapping\ViewGeneration\Structures\NegatedConstant.cs (3)
74
return m_negatedDomain.
Count
== 1 && m_negatedDomain.Contains(Constant.Null);
185
if (negatedConstants.
Count
== 0)
270
if (m_negatedDomain.
Count
> 1 && constant.IsNull())
System\Data\Mapping\ViewGeneration\Structures\ScalarRestriction.cs (5)
100
Debug.Assert(domainValues.
Count
> 0, "domain must not be empty");
102
if (domainValues.
Count
== 1)
163
Debug.Assert(domainValues.
Count
> 0, "domain must not be empty");
165
if (domainValues.
Count
== 1)
310
if (domainValues.
Count
> 0)
System\Data\Mapping\ViewGeneration\Validation\ErrorPatternMatcher.cs (1)
112
if (unmapepdTypesInExtent.
Count
> 0)
System\Data\Mapping\ViewGeneration\Validation\ForeignConstraint.cs (2)
359
if ( (childProperties != null) && (childProperties.
Count
!= 0))
364
if ((parentProperties != null) && (parentProperties.
Count
!= 0))
System\Data\Mapping\ViewGeneration\Validation\KeyConstraint.cs (1)
30
Debug.Assert(m_keySlots.
Count
> 0, "Key constraint being created without any keyslots?");
System\Data\Mapping\ViewGeneration\ViewgenContext.cs (2)
265
if (tokenMembers.
Count
> 0)
273
if (conditionMembers.
Count
> 0)