39 references to Provider
System.Data.Services (39)
System\Data\Services\Serializers\JsonSerializer.cs (12)
195Uri uri = Serializer.GetUri(element, this.Provider, this.CurrentContainer, this.AbsoluteServiceUri); 237Uri uri = Serializer.GetUri(o, this.Provider, this.CurrentContainer, this.AbsoluteServiceUri); 543ResourceType resourceType = WebUtil.GetResourceType(this.Provider, element); 582Uri entityUri = Serializer.GetUri(element, this.Provider, this.CurrentContainer, this.AbsoluteServiceUri); 690propertyValue = GetExpandedProperty(this.Provider, expanded, customObject, property); 699propertyValue = GetExpandedProperty(this.Provider, null, customObject, property); 736propertyResourceType = WebUtil.GetResourceType(this.Provider, propertyValue); 770if (this.CurrentContainer != null && this.Provider.IsEntityTypeDisallowedForSet(this.CurrentContainer, resourceType)) 783foreach (ResourceProperty property in this.Provider.GetResourceProperties(this.CurrentContainer, resourceType)) 794foreach (var pair in this.Provider.GetOpenPropertyValues(customObject)) 810this.Provider.GetResourceProperties(this.CurrentContainer, resourceType).Contains(property)) 817object propertyValue = WebUtil.GetPropertyValue(this.Provider, customObject, resourceType, null, propertyName);
System\Data\Services\Serializers\PlainXmlSerializer.cs (7)
156resourceType = WebUtil.GetResourceType(this.Provider, element); 181this.RequestDescription.TargetResourceType : WebUtil.GetResourceType(this.Provider, element); 215Uri uri = Serializer.GetUri(element, this.Provider, this.CurrentContainer, this.AbsoluteServiceUri); 290object propertyValue = WebUtil.GetPropertyValue(this.Provider, element, resourceType, property, null); 308IEnumerable<KeyValuePair<string, object>> properties = this.Provider.GetOpenPropertyValues(element); 318ResourceType propertyResourceType = WebUtil.GetResourceType(this.Provider, value); 390ResourceType resourceType = WebUtil.GetNonPrimitiveResourceType(this.Provider, element);
System\Data\Services\Serializers\Serializer.cs (2)
373skipTokenBuilder = new SkipTokenBuilderFromProperties(lastObject, this.Provider, this.RequestDescription.SkipTokenProperties); 389skipTokenBuilder = new SkipTokenBuilderFromProperties(lastObject, this.Provider, this.CurrentContainer.ResourceType.KeyProperties);
System\Data\Services\Serializers\SyndicationSerializer.cs (18)
188resourcePropertyType = (element == null) ? ResourceType.PrimitiveStringResourceType : WebUtil.GetResourceType(this.Provider, element); 426ResourceType resourceType = WebUtil.GetNonPrimitiveResourceType(this.Provider, element); 491absoluteUri = Serializer.GetUri(element, this.Provider, this.CurrentContainer, this.AbsoluteServiceUri); 494ResourceType actualResourceType = WebUtil.GetNonPrimitiveResourceType(this.Provider, element); 524using (EpmContentSerializer epmSerializer = new EpmContentSerializer(actualResourceType, element, target, this.Provider)) 527epmSerializer.Serialize(content, this.Provider); 767if (this.Provider.IsEntityTypeDisallowedForSet(this.CurrentContainer, resourceType)) 780if (action == null && this.Provider.IsV1Provider) 828object propertyValue = WebUtil.GetPropertyValue(this.Provider, customObject, resourceType, property, null); 838foreach (ResourceProperty property in this.Provider.GetResourceProperties(this.CurrentContainer, resourceType)) 846(this.ShouldExpandSegment(property.Name)) ? GetExpandedProperty(this.Provider, expanded, customObject, property) : null; 853object propertyValue = WebUtil.GetPropertyValue(this.Provider, customObject, resourceType, property, null); 869IEnumerable<KeyValuePair<string, object>> properties = this.Provider.GetOpenPropertyValues(customObject); 892propertyResourceType = WebUtil.GetResourceType(this.Provider, value); 953if (this.Provider.GetResourceProperties(this.CurrentContainer, resourceType).Contains(property)) 956(this.ShouldExpandSegment(propertyName)) ? GetExpandedProperty(this.Provider, expanded, customObject, property) : null; 964object propertyValue = WebUtil.GetPropertyValue(this.Provider, customObject, resourceType, property, property == null ? propertyName : null); 980propertyResourceType = WebUtil.GetResourceType(this.Provider, propertyValue);