2 instantiations of ResourceSet
System.Data.Services (2)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (1)
884
ResourceSet resourceContainer = new
ResourceSet
(entitySetName, resourceType);
System\Data\Services\Providers\ReflectionServiceProvider.cs (1)
278
ResourceSet resourceContainer = new
ResourceSet
(property.Name, resourceType);
73 references to ResourceSet
System.Data.Services (73)
System\Data\Services\Caching\MetadataCacheItem.cs (3)
26
private readonly Dictionary<string,
ResourceSet
> entitySets;
87
this.entitySets = new Dictionary<string,
ResourceSet
>(EqualityComparer<string>.Default);
195
internal Dictionary<string,
ResourceSet
> EntitySets
System\Data\Services\DataServiceConfiguration.cs (9)
317
ResourceSet
container;
400
ResourceSet
container;
694
internal EntitySetRights GetResourceSetRights(
ResourceSet
container)
728
internal int GetResourceSetPageSize(
ResourceSet
container)
776
internal MethodInfo[] GetReadAuthorizationMethods(
ResourceSet
resourceSet)
794
internal MethodInfo[] GetWriteAuthorizationMethods(
ResourceSet
resourceSet)
894
private static void CheckQueryInterceptorSignature(Type type, MethodInfo method,
ResourceSet
container)
1005
ResourceSet
container;
1031
ResourceSet
container;
System\Data\Services\Providers\BaseServiceProvider.cs (14)
108
public IEnumerable<
ResourceSet
> ResourceSets
172
protected IDictionary<string,
ResourceSet
> EntitySets
237
public abstract ResourceAssociationSet GetResourceAssociationSet(
ResourceSet
resourceSet, ResourceType resourceType, ResourceProperty resourceProperty);
290
public IQueryable GetQueryRootForResourceSet(
ResourceSet
container)
412
public bool TryResolveResourceSet(string name, out
ResourceSet
resourceSet)
540
foreach (
ResourceSet
container in this.ResourceSets)
631
protected abstract IQueryable GetResourceContainerInstance(
ResourceSet
resourceContainer);
642
IDictionary<string,
ResourceSet
> entitySets);
651
protected abstract void PopulateMetadataForUserSpecifiedTypes(IEnumerable<Type> userSpecifiedTypes, IDictionary<Type, ResourceType> knownTypes, IDictionary<ResourceType, List<ResourceType>> childTypes, IEnumerable<
ResourceSet
> entitySets);
661
protected abstract ResourceType PopulateMetadataForType(Type type, IDictionary<Type, ResourceType> knownTypes, IDictionary<ResourceType, List<ResourceType>> childTypes, IEnumerable<
ResourceSet
> entitySets);
821
ResourceSet
container = null;
878
private bool TryFindAnyContainerForType(ResourceType type, out
ResourceSet
container)
882
foreach (
ResourceSet
c in this.EntitySets.Values)
891
container = default(
ResourceSet
);
System\Data\Services\Providers\DataServiceProviderWrapper.cs (3)
179
foreach (
ResourceSet
resourceSet in resourceSets)
526
ResourceSet
resourceSet;
1017
internal ResourceSetWrapper ValidateResourceSet(
ResourceSet
resourceSet)
System\Data\Services\Providers\IDataServiceMetadataProvider.cs (3)
38
IEnumerable<
ResourceSet
> ResourceSets
59
bool TryResolveResourceSet(string name, out
ResourceSet
resourceSet);
68
ResourceAssociationSet GetResourceAssociationSet(
ResourceSet
resourceSet, ResourceType resourceType, ResourceProperty resourceProperty);
System\Data\Services\Providers\IDataServiceQueryProvider.cs (1)
46
IQueryable GetQueryRootForResourceSet(
ResourceSet
resourceSet);
System\Data\Services\Providers\ObjectContextServiceProvider.cs (16)
105
public override ResourceAssociationSet GetResourceAssociationSet(
ResourceSet
resourceSet, ResourceType resourceType, ResourceProperty resourceProperty)
144
ResourceSet
targetResourceSet;
252
HashSet<
ResourceSet
> containers = new HashSet<
ResourceSet
>(EqualityComparer<
ResourceSet
>.Default);
798
Dictionary<ResourceType,
ResourceSet
> typeRights = new Dictionary<ResourceType,
ResourceSet
>(ReferenceEqualityComparer<ResourceType>.Instance);
799
foreach (KeyValuePair<string,
ResourceSet
> containerEntry in this.EntitySets)
812
ResourceSet
previouslyFoundContainer;
844
IDictionary<string,
ResourceSet
> entitySets)
884
ResourceSet
resourceContainer = new ResourceSet(entitySetName, resourceType);
908
protected override IQueryable GetResourceContainerInstance(
ResourceSet
resourceContainer)
927
IEnumerable<
ResourceSet
> entitySets)
958
IEnumerable<
ResourceSet
> entitySets)
2011
private static bool ShouldUseBasicExpandProvider(ExpandedProjectionNode expandedNode, HashSet<
ResourceSet
> resourceSets, int depth)
2346
private ObjectQuery InternalGetResourceContainerInstance(
ResourceSet
container)
System\Data\Services\Providers\ReflectionServiceProvider.cs (15)
71
public override ResourceAssociationSet GetResourceAssociationSet(
ResourceSet
resourceSet, ResourceType resourceType, ResourceProperty resourceProperty)
81
ResourceSet
targetSet = InternalGetContainerForResourceType(targetType.InstanceType, this.EntitySets.Values);
244
IDictionary<string,
ResourceSet
> entitySets)
264
foreach (KeyValuePair<string,
ResourceSet
> entitySetInfo in entitySets)
278
ResourceSet
resourceContainer = new ResourceSet(property.Name, resourceType);
309
protected override IQueryable GetResourceContainerInstance(
ResourceSet
resourceContainer)
343
IEnumerable<
ResourceSet
> entitySets)
375
IEnumerable<
ResourceSet
> entitySets)
468
IEnumerable<
ResourceSet
> entitySets)
596
IEnumerable<
ResourceSet
> entitySets)
632
ResourceSet
container = null;
808
private static
ResourceSet
InternalGetContainerForResourceType(Type type, IEnumerable<
ResourceSet
> entitySets)
814
foreach (
ResourceSet
entitySetInfo in entitySets)
836
IEnumerable<
ResourceSet
> entitySets)
System\Data\Services\Providers\ResourceAssociationSetEnd.cs (3)
27
private readonly
ResourceSet
resourceSet;
49
public ResourceAssociationSetEnd(
ResourceSet
resourceSet, ResourceType resourceType, ResourceProperty resourceProperty)
78
public
ResourceSet
ResourceSet
System\Data\Services\Providers\ResourceContainerWrapper.cs (3)
34
private readonly
ResourceSet
resourceSet;
68
public ResourceSetWrapper(
ResourceSet
resourceSet, ResourceType resourceType)
160
internal
ResourceSet
ResourceSet
System\Data\Services\Providers\ServiceOperation.cs (3)
42
private
ResourceSet
resourceSet;
64
ResourceSet
resultSet,
193
public
ResourceSet
ResourceSet