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