6 references to ElementType
System.Data.Entity (6)
System\Data\Metadata\Edm\AssociationSet.cs (1)
47return (AssociationType)base.ElementType;
System\Data\Objects\DataClasses\RelatedEnd.cs (2)
2204Debug.Assert(relationshipSet == null || !(relationshipSet.ElementType as AssociationType).IsForeignKey, "for IsForeignKey relationships ObjectStateEntries don't exist"); 2240Debug.Assert(relationshipSet == null || !(relationshipSet.ElementType as AssociationType).IsForeignKey, "for IsForeignKey relationships ObjectStateEntries don't exist");
System\Data\Objects\RelationshipEntry.cs (1)
284return new DataRecordInfo(TypeUsage.Create(((RelationshipSet)EntitySet).ElementType));
System\Data\Query\PlanCompiler\ConstraintManager.cs (1)
245md.RelationshipType relationshipType = (md.RelationshipType)relationshipSet.ElementType;
System\Data\Query\PlanCompiler\PreProcessor.cs (1)
252relSet.ElementType.Equals(relType))