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