35 references to Count
System.Data.Entity (35)
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (5)
125if (_usedViews.Count == 0 || _errorLog.Count > 0) 128Debug.Assert(_errorLog.Count > 0); 159if (_errorLog.Count > 0) 583if (_errorLog.Count == 0) 667if (_errorLog.Count > 0)
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingValidator.cs (3)
113if (_errorLog.Count > 0) 119if (_errorLog.Count > 0) 127if (_errorLog.Count > 0)
System\Data\Mapping\ViewGeneration\Validation\ErrorPatternMatcher.cs (4)
44m_originalErrorCount = m_errorLog.Count; 63if (matcher.m_errorLog.Count == matcher.m_originalErrorCount) 69if (matcher.m_errorLog.Count > matcher.m_originalErrorCount) 660return (m_errorLog.Count > m_originalErrorCount + NUM_PARTITION_ERR_TO_FIND);
System\Data\Mapping\ViewGeneration\Validation\ForeignConstraint.cs (2)
198int initialErrorLogSize = errorLog.Count; 208if (initialErrorLogSize == errorLog.Count)
System\Data\Mapping\ViewGeneration\Validator.cs (4)
282int errorLogSize = m_errorLog.Count; 304return m_errorLog.Count == errorLogSize; 317int errorLogSize = m_errorLog.Count; 362return m_errorLog.Count == errorLogSize;
System\Data\Mapping\ViewGeneration\ViewGenerator.cs (7)
125if (errorLog.Count > 0) 138if (errorLog.Count > 0) 151if (errorLog.Count > 0) 183if (errorLog.Count > 0) 195if (errorLog.Count > 0) 269Debug.Assert(exception.ErrorLog.Count > 0, "Incorrectly created mapping exception"); 334Debug.Assert(exception.ErrorLog.Count > 0,
System\Data\Mapping\ViewGeneration\ViewgenGatekeeper.cs (8)
103if (tmpLog.Count > 0) 127Debug.Assert(exception.ErrorLog.Count > 0, "Incorrectly created mapping exception"); 131if (groupErrorLog.Count > 0) 141if (groupErrorLog.Count != 0) 172if (tmpLog.Count > 0) 194Debug.Assert(exception.ErrorLog.Count > 0, "Incorrectly created mapping exception"); 198if (groupErrorLog.Count == 0) 204if (groupErrorLog.Count != 0)
System\Data\Mapping\ViewGeneration\ViewGenResults.cs (2)
64return m_errorLog.Count > 0; 86builder.Append(m_errorLog.Count);