10 references to GetOrAddStateManagerTypeMetadata
System.Data.Entity (10)
System\Data\Objects\DataClasses\EntityReference.cs (4)
478
StateManagerTypeMetadata principalTypeMetadata = stateManager.
GetOrAddStateManagerTypeMetadata
(principalEntity.IdentityType, principalEntitySet);
481
StateManagerTypeMetadata dependentTypeMetadata = stateManager.
GetOrAddStateManagerTypeMetadata
(dependentEntity.IdentityType, dependentEntitySet);
579
StateManagerTypeMetadata dependentTypeMetadata = stateManager.
GetOrAddStateManagerTypeMetadata
(dependentEntity.IdentityType, dependentEntitySet);
661
StateManagerTypeMetadata dependentTypeMetadata = stateManager.
GetOrAddStateManagerTypeMetadata
(WrappedOwner.IdentityType, dependentEntitySet);
System\Data\Objects\EntityEntry.cs (1)
1587
tmpTypeMetadata = _cache.
GetOrAddStateManagerTypeMetadata
(complexObject.GetType(), (EntitySet)this.EntitySet);
System\Data\Objects\ObjectStateManager.cs (5)
341
StateManagerTypeMetadata typeMetadata =
GetOrAddStateManagerTypeMetadata
(wrappedObject.IdentityType, entitySet);
648
StateManagerTypeMetadata typeMetadata =
GetOrAddStateManagerTypeMetadata
(wrappedEntity.IdentityType, (EntitySet)keyEntry.EntitySet);
1418
StateManagerTypeMetadata typeMetadata =
GetOrAddStateManagerTypeMetadata
(wrappedObject.IdentityType, entitySet);
1479
StateManagerTypeMetadata typeMetadata =
GetOrAddStateManagerTypeMetadata
(wrappedEntity.IdentityType, entitySetForType);
3723
StateManagerTypeMetadata typeMetadata = this.
GetOrAddStateManagerTypeMetadata
(EntityUtil.GetEntityIdentityType(entity.GetType()), entitySet);