15 references to ResourceType
System.Data.Services (15)
System\Data\Services\DataServiceConfiguration.cs (4)
906
Type lambdaType = typeof(Func<,>).MakeGenericType(container.
ResourceType
.InstanceType, typeof(bool));
915
Type nullableLambdaType = typeof(Func<,>).MakeGenericType(container.
ResourceType
.InstanceType, typeof(bool?));
1055
if (!elementParameterType.IsAssignableFrom(container.
ResourceType
.InstanceType))
1062
container.
ResourceType
.InstanceType);
System\Data\Services\Providers\BaseServiceProvider.cs (1)
884
if (c.
ResourceType
.IsAssignableFrom(type))
System\Data\Services\Providers\DataServiceProviderWrapper.cs (1)
1031
resourceSetWrapper = new ResourceSetWrapper(resourceSet, this.ValidateResourceType(resourceSet.
ResourceType
));
System\Data\Services\Providers\ObjectContextServiceProvider.cs (3)
255
if (set.Value.
ResourceType
.InstanceType.IsAssignableFrom(source.ElementType))
804
ResourceType resourceType = containerEntry.Value.
ResourceType
;
2353
MethodInfo genericMethod = typeof(ObjectContext).GetMethod("CreateQuery", WebUtil.PublicInstanceBindingFlags).MakeGenericMethod(container.
ResourceType
.InstanceType);
System\Data\Services\Providers\ReflectionServiceProvider.cs (2)
266
Type entitySetType = entitySetInfo.Value.
ResourceType
.InstanceType;
816
if (entitySetInfo.
ResourceType
.InstanceType.IsAssignableFrom(type))
System\Data\Services\Providers\ResourceAssociationSetEnd.cs (2)
59
if (!resourceSet.
ResourceType
.IsAssignableFrom(resourceType) && !resourceType.IsAssignableFrom(resourceSet.
ResourceType
))
System\Data\Services\Providers\ResourceContainerWrapper.cs (1)
221
ResourceType baseType = this.resourceSet.
ResourceType
;
System\Data\Services\Providers\ServiceOperation.cs (1)
83
if (resultType != null && resultType.ResourceTypeKind == ResourceTypeKind.EntityType && (resultSet == null || !resultSet.
ResourceType
.IsAssignableFrom(resultType)))