31 references to Name
System.Data.Services (31)
System\Data\Services\DataServiceConfiguration.cs (12)
323
this.resourceRights[container.
Name
] = rights;
406
this.pageSizes[container.
Name
] = size;
700
if (!this.resourceRights.TryGetValue(container.
Name
, out result))
734
if (!this.pageSizes.TryGetValue(container.
Name
, out pageSize))
781
if (this.readAuthorizationMethods.TryGetValue(resourceSet.
Name
, out methods))
799
if (this.writeAuthorizationMethods.TryGetValue(resourceSet.
Name
, out methods))
1018
if (!this.readAuthorizationMethods.ContainsKey(container.
Name
))
1020
this.readAuthorizationMethods[container.
Name
] = new List<MethodInfo>();
1023
this.readAuthorizationMethods[container.
Name
].Add(method);
1089
if (!this.writeAuthorizationMethods.ContainsKey(container.
Name
))
1091
this.writeAuthorizationMethods[container.
Name
] = new List<MethodInfo>();
1094
this.writeAuthorizationMethods[container.
Name
].Add(method);
System\Data\Services\Providers\DataServiceProviderWrapper.cs (4)
183
resourceSet != null ? resourceSet.
Name
: null,
185
Strings.DataServiceProviderWrapper_MultipleEntitySetsWithSameName(resourceSet.
Name
));
1026
if (this.ResourceSetWrapperCache.TryGetValue(resourceSet.
Name
, out resourceSetWrapper))
1038
this.ResourceSetWrapperCache[resourceSet.
Name
] = resourceSetWrapper;
System\Data\Services\Providers\ObjectContextServiceProvider.cs (4)
113
EntitySet sourceEntitySet = this.GetEntitySet(resourceSet.
Name
);
820
previouslyFoundContainer.
Name
,
822
containerEntry.Value.
Name
,
2352
string escapedEntitySetName = GetEscapedEntitySetName(container.
Name
);
System\Data\Services\Providers\ReflectionServiceProvider.cs (3)
269
throw new InvalidOperationException(Strings.ReflectionProvider_MultipleEntitySetsForSameType(entitySetInfo.Value.
Name
, property.Name, entitySetType.FullName, resourceType.FullName));
273
throw new InvalidOperationException(Strings.ReflectionProvider_MultipleEntitySetsForSameType(property.Name, entitySetInfo.Value.
Name
, resourceType.FullName, entitySetType.FullName));
314
PropertyInfo propertyInfo = this.Type.GetProperty(resourceContainer.
Name
, WebUtil.PublicInstanceBindingFlags);
System\Data\Services\Providers\ResourceAssociationSet.cs (1)
129
if (end.ResourceSet.
Name
== resourceSet.Name && end.ResourceType.IsAssignableFrom(resourceType))
System\Data\Services\Providers\ResourceContainerWrapper.cs (2)
74
throw new DataServiceException(500, Strings.DataServiceProviderWrapper_ResourceContainerNotReadonly(resourceSet.
Name
));
88
get { return this.resourceSet.
Name
; }
System\Data\Services\Providers\ServiceOperationWrapper.cs (1)
182
this.resourceSet = provider.TryResolveResourceSet(this.serviceOperation.ResourceSet.
Name
);
System\Data\Services\Serializers\MetadataSerializer.cs (4)
636
xmlWriter.WriteAttributeString(XmlConstants.EntitySet, associationSetEnd.ResourceSet.
Name
);
1115
reverseAssociationSetKey = relatedEnd.ResourceSet.
Name
+ '_' + relatedEnd.ResourceProperty.ResourceType.FullName + '_' + relatedEnd.ResourceProperty.Name;
1119
reverseAssociationSetKey = relatedEnd.ResourceSet.
Name
+ "_Null_" + resourceType.FullName + '_' + navigationProperty.Name;
1128
throw new InvalidOperationException(Strings.ResourceAssociationSet_MultipleAssociationSetsForTheSameAssociationTypeMustNotReferToSameEndSets(conflictingAssociationSet.Name, associationSet.Name, relatedEnd.ResourceSet.
Name
));