32 references to BindingEntityInfo
System.Data.Services.Client (32)
System\Data\Services\Client\Binding\BindingEntityInfo.cs (8)
89Debug.Assert(BindingEntityInfo.IsEntityType(target.GetType()), "Argument 'target' must be an entity type."); 103return BindingEntityInfo.GetEntitySetAttribute(target.GetType()); 201if (BindingEntityInfo.IsDataServiceCollection(type)) 238bindingPropertyInfo = BindingEntityInfo.GetObservableProperties(sourceType) 244return BindingEntityInfo.GetClientType(sourceType) 292if (BindingEntityInfo.IsDataServiceCollection(propertyType)) 298if (BindingEntityInfo.IsEntityType(propertyType)) 303if (BindingEntityInfo.CanBeComplexProperty(p))
System\Data\Services\Client\Binding\BindingGraph.cs (8)
74BindingEntityInfo.IsDataServiceCollection(collection.GetType()), 172entityVertex.EntitySet = BindingEntityInfo.GetEntitySet(target, targetEntitySet); 245BindingEntityInfo.BindingPropertyInfo bpi = BindingEntityInfo.GetObservableProperties(parent.GetType()) 264targetEntitySet = BindingEntityInfo.GetEntitySet(item, targetEntitySet); 324foreach (var entity in this.graph.Select(o => BindingEntityInfo.IsEntityType(o.GetType()) && !this.observer.IsContextTrackingEntity(o))) 456foreach (BindingEntityInfo.BindingPropertyInfo bpi in BindingEntityInfo.GetObservableProperties(entity.GetType()))
System\Data\Services\Client\Binding\BindingObserver.cs (14)
122if (!BindingEntityInfo.IsEntityType(typeof(T))) 184BindingEntityInfo.BindingPropertyInfo bpi; 187object sourcePropertyValue = BindingEntityInfo.GetPropertyValue(source, sourceProperty, out bpi); 280Debug.Assert(BindingEntityInfo.IsDataServiceCollection(collection.GetType()), "We only register this event for DataServiceCollections."); 384Debug.Assert(BindingEntityInfo.IsEntityType(target.GetType()), "target must be an entity type."); 522Debug.Assert(BindingEntityInfo.IsEntityType(target.GetType()), "target must be an entity type."); 599Debug.Assert(BindingEntityInfo.IsEntityType(source.GetType()), "source must be an entity with keys."); 720if (!BindingEntityInfo.IsEntityType(entity.GetType())) 726Debug.Assert(BindingEntityInfo.IsEntityType(entity.GetType()), "entity must be an entity with keys."); 785if (!BindingEntityInfo.IsEntityType(target.GetType())) 937Debug.Assert(BindingEntityInfo.IsEntityType(source.GetType()), "source must be an entity with keys."); 942Debug.Assert(BindingEntityInfo.IsEntityType(target.GetType()), "target must be an entity with keys."); 953Debug.Assert(BindingEntityInfo.IsEntityType(entity.GetType()), "entity must be an entity with keys."); 968if (!BindingEntityInfo.IsEntityType(target.GetType()))
System\Data\Services\Client\Binding\BindingUtils.cs (1)
63Debug.Assert(BindingEntityInfo.IsDataServiceCollection(oec.GetType()), "Must be an DataServiceCollection.");
System\Data\Services\Client\DataServiceContext.cs (1)
3866if (BindingEntityInfo.IsDataServiceCollection(property.PropertyType))