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