53 references to Contains
System.Data.Entity (53)
System\Data\Common\Utils\Boolean\ConversionContext.cs (3)
128
if (range.All(element => !domain.
Contains
(element)))
134
if (domain.All(element => range.
Contains
(element)))
141
Vertex[] children = domain.Select(element => range.
Contains
(element) ? Vertex.One : Vertex.Zero).ToArray();
System\Data\Common\Utils\MetadataHelper.cs (1)
494
Debug.Assert(!references.
Contains
(b), "Dictionary already has a --> b reference");
System\Data\Mapping\FunctionImportMapping.cs (2)
132
impliedEntityTypesBitMap[i] = impliedEntityTypesSet.
Contains
(this.MappedEntityTypes[i]);
507
if (!reachableTypes.
Contains
(entityType))
System\Data\Mapping\StorageMappingItemLoader.cs (5)
514
if (!actualEnds.
Contains
(expectedEnd))
694
if (!additionalSetsInClosure.
Contains
(end.EntitySet))
711
if (!additionalSetsInClosure.
Contains
(associationSet))
715
if (additionalSetsInClosure.
Contains
(end.EntitySet))
4265
if (m_seenParameters.
Contains
(parameter))
System\Data\Mapping\Update\Internal\AssociationSetMetadata.cs (3)
78
else if (null == RequiredEnds || !RequiredEnds.
Contains
(end.CorrespondingAssociationEndMember))
98
if (!RequiredEnds.
Contains
(principalEnd) &&
99
!OptionalEnds.
Contains
(principalEnd))
System\Data\Mapping\Update\Internal\ExtractorMetadata.cs (2)
83
if (keyMembers.
Contains
(member))
91
if (foreignKeyMembers.
Contains
(member))
System\Data\Mapping\Update\Internal\SourceInterpreter.cs (1)
113
return m_translator.ViewLoader.GetAffectedTables(extent, m_translator.MetadataWorkspace).
Contains
(m_sourceTable);
System\Data\Mapping\Update\Internal\UpdateTranslator.cs (6)
871
if (!m_knownEntityKeys.
Contains
(key))
891
if (!m_knownEntityKeys.
Contains
(key))
905
if (!m_knownEntityKeys.
Contains
(key))
967
if (associationSetMetadata.RequiredEnds.
Contains
(endMetadata))
975
else if (associationSetMetadata.OptionalEnds.
Contains
(endMetadata))
980
else if (associationSetMetadata.IncludedValueEnds.
Contains
(endMetadata))
System\Data\Mapping\Update\Internal\ViewLoader.cs (2)
120
return SyncInitializeEntitySet(entitySetBase, workspace, set.
Contains
, element);
379
if (columns.
Contains
(scalarPropertyMapping.ColumnProperty))
System\Data\Mapping\ViewGeneration\CellTreeSimplifier.cs (1)
188
if (commonGrandChildren.
Contains
(grandChild) == false)
System\Data\Mapping\ViewGeneration\CqlGeneration\CqlIdentifiers.cs (2)
73
if (m_identifiers.
Contains
(result.ToLower(CultureInfo.InvariantCulture)) == false)
89
if (m_identifiers.
Contains
(result.ToLower(CultureInfo.InvariantCulture)) == false)
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (1)
1255
false == domainConstraint.Variable.Domain.All(constant => domainConstraint.Range.
Contains
(constant))
System\Data\Mapping\ViewGeneration\Structures\Domain.cs (1)
244
return m_domain.
Contains
(constant);
System\Data\Mapping\ViewGeneration\Structures\MemberDomainMap.cs (3)
101
if (!domainValues.
Contains
(Constant.Null))
120
if (domainValues.Count <= 0 || (!domainValues.
Contains
(Constant.Null) && condition.Domain.Values.Contains(Constant.Null)))
165
return m_projectedConditionMembers.
Contains
(memberPath);
System\Data\Mapping\ViewGeneration\Structures\MemberRestriction.cs (1)
230
Debug.Assert(constants.
Contains
(constant), "Domain of negated constant does not have positive constant");
System\Data\Mapping\ViewGeneration\Structures\NegatedConstant.cs (5)
58
return m_negatedDomain.
Contains
(constant);
74
return m_negatedDomain.Count == 1 && m_negatedDomain.
Contains
(Constant.Null);
88
return m_negatedDomain.
Contains
(Constant.Null);
181
Debug.Assert(negatedConstants.
Contains
(constant), "Negated constant must contain all positive constants");
192
bool hasNull = negatedConstants.
Contains
(Constant.Null);
System\Data\Mapping\ViewGeneration\Structures\ScalarRestriction.cs (2)
291
if (domainValues.
Contains
(Constant.Null))
299
if (domainValues.
Contains
(Constant.Undefined))
System\Data\Mapping\ViewGeneration\Validation\ErrorPatternMatcher.cs (2)
210
!mappedConditionMembers.
Contains
(memberPath) && /* prevents duplicate errors */
258
if (setOfconditions.
Contains
(condMembersValues))
System\Data\Mapping\ViewGeneration\ViewgenGatekeeper.cs (1)
244
if (mappedExtents.
Contains
(extent) == false
System\Data\SqlClient\SqlGen\SqlFunctionCallHandler.cs (4)
922
if (!_datepartKeywords.
Contains
(datepart))
1763
if (!_functionRequiresReturnTypeCastToInt32.
Contains
(e.Function.FullName))
1771
if (_maxTypeNames.
Contains
(storeType.EdmType.Name))
1811
if (!functionsRequiringReturnTypeCast.
Contains
(e.Function.FullName))
System\Data\SqlClient\SqlGen\SqlGenerator.cs (5)
838
if (_canonicalStringFunctionsOneArg.
Contains
(functionFullName) ||
839
_storeStringFunctionsOneArg.
Contains
(functionFullName))
843
else if (_canonicalStringFunctionsTwoArgs.
Contains
(functionFullName))
848
else if (_canonicalStringFunctionsThreeArgs.
Contains
(functionFullName) ||
849
_storeStringFunctionsThreeArgs.
Contains
(functionFullName))