10 references to IsProxyType
System.Data.Entity (10)
System\Data\Common\EntityUtil.cs (1)
241return EntityProxyFactory.IsProxyType(entityType) ? entityType.BaseType : entityType;
System\Data\Objects\DataClasses\RelationshipManager.cs (1)
728if (EntityProxyFactory.IsProxyType(wrappedOwner.Entity.GetType()))
System\Data\Objects\Internal\EntityProxyFactory.cs (3)
133if (IsProxyType(instance.GetType()) && 322if (IsProxyType(type)) 356if (IsProxyType(type))
System\Data\Objects\Internal\EntityWrapperFactory.cs (2)
88bool isProxy = EntityProxyFactory.IsProxyType(entityType); 147bool isProxy = EntityProxyFactory.IsProxyType(entityType);
System\Data\Objects\Internal\LightweightEntityWrapper.cs (2)
39Debug.Assert(!EntityProxyFactory.IsProxyType(entity.GetType()), "LightweightEntityWrapper only works with entities that are not proxies"); 62Debug.Assert(!EntityProxyFactory.IsProxyType(entity.GetType()), "LightweightEntityWrapper only works with entities that are not proxies");
System\Data\Objects\ObjectContext.cs (1)
2935return EntityProxyFactory.IsProxyType(type) ? type.BaseType : type;