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