14 references to EntitySetName
System.Data.Entity (14)
System\Data\Common\EntityUtil.cs (2)
977return NotSupported(System.Data.Entity.Strings.Materializer_RecyclingEntity(System.Data.Common.TypeHelpers.GetFullName(key.EntityContainerName, key.EntitySetName), newEntityType.FullName, existingEntityType.FullName, key.ConcatKeyValue())); 1519string setName1 = key.EntitySetName;
System\Data\Common\Internal\Materialization\Shaper.cs (2)
303targetKey.EntitySetName, (AssociationType)(targetMember.DeclaringType), targetMember.Name, out targetEntitySet); 705AssociationSet associationSet = MetadataHelper.GetAssociationsForEntitySetAndAssociationType(entityContainer, sourceKey.EntitySetName,
System\Data\EntityKey.cs (1)
1186Debug.Assert(this.EntitySetName != null, "The EntitySetName property for Static EntityKeys must not return null.");
System\Data\Mapping\Update\Internal\RelationshipConstraintValidator.cs (1)
207TypeHelpers.GetFullName(expectedRelationship.ToEntityKey.EntityContainerName, expectedRelationship.ToEntityKey.EntitySetName),
System\Data\Mapping\Update\Internal\UpdateTranslator.cs (1)
884throw EntityUtil.UpdateMissingEntity(required.Value.Name, TypeHelpers.GetFullName(key.EntityContainerName, key.EntitySetName));
System\Data\Objects\DataClasses\RelationshipManager.cs (2)
832association = MetadataHelper.GetAssociationsForEntitySetAndAssociationType(entityContainer, ownerKey.EntitySetName, 995EntitySet entitySet = wrappedOwner.Context.GetEntitySet(wrappedOwner.EntityKey.EntitySetName, wrappedOwner.EntityKey.EntityContainerName);
System\Data\Objects\EntityEntry.cs (2)
67Debug.Assert((null == (object)entityKey) || (entityKey.EntitySetName == entitySet.Name), "different entitySet"); 107Debug.Assert(entityKey.EntitySetName == entitySet.Name, "different entitySet");
System\Data\Objects\Internal\ForeignKeyFactory.cs (1)
34string.Equals(key.EntitySetName, s_NullPart);
System\Data\Objects\ObjectContext.cs (1)
2045Debug.Assert(null != key.EntitySetName, "null entity.Key.EntitySetName");
System\Data\Objects\ObjectStateManager.cs (1)
3307if (entitySet.Name != entity.EntityKey.EntitySetName) //