2 references to EntityTypeDoesNotMatchEntitySet
System.Data.Entity (2)
System\Data\Objects\ObjectStateManager.cs (2)
351
throw EntityUtil.
EntityTypeDoesNotMatchEntitySet
(wrappedObject.Entity.GetType().Name, TypeHelpers.GetFullName(entitySet), argumentName);
3732
throw EntityUtil.
EntityTypeDoesNotMatchEntitySet
(entity.GetType().FullName, entitySet.Name, "entity");