7 references to AddKeyMember
System.Data.Entity (7)
System\Data\Metadata\Converter.cs (1)
558associationType.AddKeyMember(associationEnd);
System\Data\Metadata\Edm\EntityTypeBase.cs (1)
170AddKeyMember(member);
System\Data\Metadata\ObjectLayer\ObjectItemAttributeAssemblyLoader.cs (3)
265associationType.AddKeyMember(new AssociationEndMember(roleName, entityType.GetReferenceType(), multiplicity)); 510((EntityType)structuralType).AddKeyMember(newMember); 687((EntityType)declaringType).AddKeyMember(enumProperty);
System\Data\Metadata\ObjectLayer\ObjectItemConventionAssemblyLoader.cs (2)
704ospaceAssociation.AddKeyMember(new AssociationEndMember(cspaceEnd.Name, ospaceEndType.GetReferenceType(), cspaceEnd.RelationshipMultiplicity)); 765((EntityType)ospaceType).AddKeyMember(ospaceProperty);