15 references to IsEntityType
System.Data.Services.Client (15)
System\Data\Services\Client\Binding\BindingEntityInfo.cs (3)
89
Debug.Assert(BindingEntityInfo.
IsEntityType
(target.GetType()), "Argument 'target' must be an entity type.");
146
if (parms != null && parms.Length == 1 &&
IsEntityType
(parms[0]))
298
if (BindingEntityInfo.
IsEntityType
(propertyType))
System\Data\Services\Client\Binding\BindingGraph.cs (1)
324
foreach (var entity in this.graph.Select(o => BindingEntityInfo.
IsEntityType
(o.GetType()) && !this.observer.IsContextTrackingEntity(o)))
System\Data\Services\Client\Binding\BindingObserver.cs (11)
122
if (!BindingEntityInfo.
IsEntityType
(typeof(T)))
384
Debug.Assert(BindingEntityInfo.
IsEntityType
(target.GetType()), "target must be an entity type.");
522
Debug.Assert(BindingEntityInfo.
IsEntityType
(target.GetType()), "target must be an entity type.");
599
Debug.Assert(BindingEntityInfo.
IsEntityType
(source.GetType()), "source must be an entity with keys.");
720
if (!BindingEntityInfo.
IsEntityType
(entity.GetType()))
726
Debug.Assert(BindingEntityInfo.
IsEntityType
(entity.GetType()), "entity must be an entity with keys.");
785
if (!BindingEntityInfo.
IsEntityType
(target.GetType()))
937
Debug.Assert(BindingEntityInfo.
IsEntityType
(source.GetType()), "source must be an entity with keys.");
942
Debug.Assert(BindingEntityInfo.
IsEntityType
(target.GetType()), "target must be an entity with keys.");
953
Debug.Assert(BindingEntityInfo.
IsEntityType
(entity.GetType()), "entity must be an entity with keys.");
968
if (!BindingEntityInfo.
IsEntityType
(target.GetType()))