3 overrides of EdmEquals
System.Data.Entity (3)
System\Data\Metadata\Edm\CollectionType.cs (1)
90
internal override bool
EdmEquals
(MetadataItem item)
System\Data\Metadata\Edm\RowType.cs (1)
198
internal override bool
EdmEquals
(MetadataItem item)
System\Data\Metadata\Edm\TypeUsage.cs (1)
602
internal override bool
EdmEquals
(MetadataItem item)
53 references to EdmEquals
System.Data.Entity (53)
System\Data\Common\CommandTrees\DefaultExpressionVisitor.cs (1)
316
Debug.Assert(source.DeclaringType.
EdmEquals
(target.DeclaringType), "Relationship ends not declared by same relationship type?");
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (1)
1663
if (!entityType.
EdmEquals
(expectedSourceType) &&
System\Data\Common\CommandTrees\ValueExpressions.cs (1)
602
if (!endType.
EdmEquals
(targetType) && !TypeSemantics.IsSubTypeOf(targetType, endType))
System\Data\Common\EntitySql\SemanticAnalyzer.cs (5)
1639
if (fromEnd.
EdmEquals
(toEnd))
1648
!e.
EdmEquals
(toEnd)).ToArray();
1739
if (toEnd != null && fromEnd.
EdmEquals
(toEnd))
1748
(toEnd == null || !e.
EdmEquals
(toEnd))).ToArray();
1769
.Where (e => !e.
EdmEquals
(fromEnd)).ToArray();
System\Data\Common\Internal\Materialization\Shaper.cs (1)
679
entityTypeUsage.EdmType.
EdmEquals
(expectedSourceType) ||
System\Data\Common\Utils\MetadataHelper.cs (4)
128
!modelEdmType.
EdmEquals
(spatialNormalizedEdmType))
291
e => !e.
EdmEquals
(end)).Single();
339
mappingFrag => mappingFrag.TableSet.
EdmEquals
(table)
464
if (parent.
EdmEquals
(a))
System\Data\Mapping\FunctionImportMappingComposable.cs (1)
366
Debug.Assert(properties[i].
EdmEquals
(propertyMapping.EdmProperty), "properties[i].EdmEquals(propertyMapping.EdmProperty)");
System\Data\Mapping\StorageMappingItemLoader.cs (3)
1332
if (includeSubtypes && setMapping.Set.ElementType.
EdmEquals
(entityType))
2221
if (!keys[i].
EdmEquals
(currentKeys[i]))
2528
.All(ppm => ppm.Key.
EdmEquals
(ppm.Value.EdmProperty)), "propertyMappings order does not correspond to the order of properties in the structuredType.");
System\Data\Mapping\Update\Internal\AssociationSetMetadata.cs (1)
72
if (end.EntitySet.
EdmEquals
(influencingExtent))
System\Data\Mapping\Update\Internal\DynamicUpdateCommand.cs (1)
85
if (((DbPropertyExpression)setClause.Property).Property.
EdmEquals
(member))
System\Data\Mapping\Update\Internal\Propagator.Evaluator.cs (1)
204
result = childResult.StructuralType.
EdmEquals
(predicate.OfType.EdmType);
System\Data\Mapping\Update\Internal\RelationshipConstraintValidator.cs (1)
98
if (!toEnd.EntitySet.
EdmEquals
(entitySet)) { continue; }
System\Data\Mapping\ViewGeneration\BasicViewGenerator.cs (1)
453
for (; i < pkColumns.Count && pkColumns[i].
EdmEquals
(fkColumns[i]); ++i);
System\Data\Mapping\ViewGeneration\DiscriminatorMap.cs (2)
272
if (!newX.ResultType.EdmType.
EdmEquals
(newY.ResultType.EdmType)) { return false; }
286
return (refX.EntitySet.
EdmEquals
(refY.EntitySet) &&
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (2)
342
(MetadataHelper.GetOppositeEnd(end).EntitySet.
EdmEquals
(rightExtent))))))
344
foreach (var associationCell in associationSets.Where(c => c.GetRightQuery(target).Extent.
EdmEquals
(association)))
System\Data\Mapping\ViewGeneration\Structures\MemberPath.cs (3)
298
if (entitySetType.
EdmEquals
(memberDeclaringType) || MetadataHelper.IsParentOf(memberDeclaringType, entitySetType) || parentType == null)
317
foreach (var edge in edges.Where(type => !type.
EdmEquals
(avoidEdge)))
320
if (entitySetType.BaseType != null && entitySetType.BaseType.
EdmEquals
(edge))
System\Data\Mapping\ViewGeneration\Validation\ErrorPatternMatcher.cs (1)
317
if (!leftCellWrapper.RightCellQuery.Extent.
EdmEquals
(rightExtent))
System\Data\Metadata\Edm\NavigationProperty.cs (1)
152
if (dependentEndMember.
EdmEquals
(this.FromEndMember))
System\Data\Metadata\Edm\RowType.cs (1)
217
if (!thisMember.
EdmEquals
(otherMember) ||
System\Data\Metadata\Edm\TypeUsage.cs (1)
612
if (!this.EdmType.
EdmEquals
(other.EdmType)) { return false; }
System\Data\Metadata\MappingMetadataHelper.cs (1)
49
edmType.
EdmEquals
(childEntityType) ?
System\Data\Metadata\TypeSemantics.cs (3)
141
if (toType.EdmType.
EdmEquals
(fromType.EdmType))
1061
return ((RefType)fromType.EdmType).ElementType.
EdmEquals
(((RefType)toType.EdmType).ElementType);
1099
return fromType.EdmType.
EdmEquals
(toType.EdmType);
System\Data\Objects\DataClasses\RelatedEnd.cs (3)
398
if (!targetEntitySet.ElementType.
EdmEquals
(targetEntityType) &&
422
if (fkConstraint.ToRole.
EdmEquals
(_toEndProperty))
473
Debug.Assert(fkConstraint.FromRole.
EdmEquals
(_toEndProperty), "Source query for foreign key association related end is not based on principal or dependent?");
System\Data\Objects\ELinq\ExpressionConverter.cs (2)
613
return fromType.EdmType.
EdmEquals
(toType.EdmType);
978
if (left.EdmType.
EdmEquals
(right.EdmType)) { return true; }
System\Data\Query\InternalTrees\ExplicitDiscriminatorMap.cs (1)
72
if (discriminatorTypePair.Value.
EdmEquals
(entityType))
System\Data\Query\InternalTrees\RelPropertyHelper.cs (3)
75
this.Relationship.
EdmEquals
(other.Relationship) &&
76
this.FromEnd.
EdmEquals
(other.FromEnd) &&
77
this.ToEnd.
EdmEquals
(other.ToEnd));
System\Data\Query\InternalTrees\ScalarOps.cs (1)
395
return (otherFunctionOp != null && otherFunctionOp.Function.
EdmEquals
(this.Function));
System\Data\Query\PlanCompiler\PreProcessor.cs (6)
585
if ((ofType != null) && !entitySet.ElementType.
EdmEquals
(ofType.EdmType))
684
if (e.CorrespondingAssociationEndMember.
EdmEquals
(targetEnd))
1423
if (!testType.
EdmEquals
(argumentType))
1554
rs.ElementType.
EdmEquals
(relProperty.Relationship) &&
1555
rs.AssociationSetEnds[relProperty.FromEnd.Identity].EntitySet.
EdmEquals
(entitySet))
1576
if (m.
EdmEquals
(member))