25 references to IsForeignKey
System.Data.Entity (21)
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (1)
128assocSet.ElementType.IsForeignKey &&
System\Data\Mapping\StorageMappingItemCollection.ViewDictionary.cs (1)
277if (aSet.ElementType.IsForeignKey)
System\Data\Mapping\StorageMappingItemLoader.cs (5)
689&& !associationSet.ElementType.IsForeignKey) 708&& !associationSet.ElementType.IsForeignKey) 1422if (associationSet.ElementType.IsForeignKey) 4068if (associationSet.ElementType.IsForeignKey) 4311if (associationType.IsForeignKey)
System\Data\Mapping\Update\Internal\RelationshipConstraintValidator.cs (1)
328if (null != associationSet && !associationSet.ElementType.IsForeignKey)
System\Data\Mapping\ViewGeneration\Validation\ForeignConstraint.cs (1)
375var foreignKeyAssociations = childContext.EntityContainerMapping.EdmEntityContainer.BaseEntitySets.OfType<AssociationSet>().Where(it => it.ElementType.IsForeignKey).Select(it => it.ElementType);
System\Data\Mapping\ViewGeneration\ViewgenContext.cs (1)
137var allForeignKeyAssociationSets = this.m_entityContainerMapping.EdmEntityContainer.BaseEntitySets.OfType<AssociationSet>().Where(it => it.ElementType.IsForeignKey);
System\Data\Mapping\ViewGeneration\ViewgenGatekeeper.cs (1)
248if (associationSet==null || !associationSet.ElementType.IsForeignKey)
System\Data\Metadata\Edm\EntitySet.cs (1)
138if (associationSet.ElementType.IsForeignKey)
System\Data\Metadata\ObjectLayer\ObjectItemConventionAssemblyLoader.cs (1)
698AssociationType ospaceAssociation = new AssociationType(cspaceAssociation.Name, cspaceAssociation.NamespaceName, cspaceAssociation.IsForeignKey, DataSpace.OSpace);
System\Data\Objects\DataClasses\EntityReference_TResultType.cs (1)
185if (!((AssociationType)base.RelationMetadata).IsForeignKey && ToEndMember.RelationshipMultiplicity == RelationshipMultiplicity.One)
System\Data\Objects\DataClasses\RelatedEnd.cs (4)
147return ((AssociationType)_relationMetadata).IsForeignKey; 415if (associationMetadata.IsForeignKey) 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\DataClasses\RelationshipManager.cs (1)
1456if (skipFK && association.ElementType.IsForeignKey)
System\Data\Objects\Internal\ObjectSpanRewriter.cs (1)
696if(!associationType.IsForeignKey &&
System\Data\Objects\ObjectStateManager.cs (1)
1174if (associationSet.ElementType.IsForeignKey)
System.Data.Entity.Design (2)
System\Data\Entity\Design\Common\OneToOneMappingSerializer.cs (2)
348if (!collapsedAssociationSet.ModelAssociationSet.ElementType.IsForeignKey) 374if (!model.ElementType.IsForeignKey)
System.Data.Services (1)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (1)
2065if (!association.IsForeignKey)
System.Web.Entity.Design (1)
System\Data\WebControls\Design\EntityDataSourceDataSelection.cs (1)
620if (!associationType.IsForeignKey)