System\Data\Services\RequestQueryProcessor.cs (4)
426throw DataServiceException.CreateBadRequestError(Strings.BadRequest_InvalidPropertyNameSpecified(property.Name, resourceType.FullName));
478segments.Add(new ExpandSegment(property.Name, filter, resourceSet.PageSize, resourceSet, property, internalOrderingInfo));
491segments.Add(new ExpandSegment(property.Name, filter, this.service.Configuration.MaxResultsPerCollection, resourceSet, property, null));
1067orderBy.Append(separator).Append(keyProp.Name).Append(Space).Append(AscendingOrderIdentifier);
System\Data\Services\Serializers\Deserializer.cs (6)
207return JsonDeserializer.ConvertValues(value, property.Name, property.Type, provider);
211return PlainXmlDeserializer.ConvertValuesForXml(value, property.Name, property.Type);
295throw DataServiceException.CreateBadRequestError(Strings.BadRequest_ErrorInConvertingPropertyValue(description.Property.Name, description.Property.Type), e);
675service.Updatable.SetReference(entityGettingModified, description.Property.Name, linkResource);
679service.Updatable.AddReferenceToCollection(entityGettingModified, description.Property.Name, linkResource);
801service.Updatable.SetValue(declaringResource, resourceProperty.Name, propertyValue);
System\Data\Services\Serializers\JsonDeserializer.cs (7)
559SegmentInfo segmentInfo = CreateSegment(resourceProperty, resourceProperty.Name, null, true /* singleResult */);
784throw DataServiceException.CreateBadRequestError(Strings.BadRequest_InvalidPropertyNameSpecified(resourceProperty.Name, parentResourceType.FullName));
792SegmentInfo segmentInfo = CreateSegment(resourceProperty, resourceProperty.Name, propertySet, true /* singleResult */);
799this.Updatable.SetReference(resource, resourceProperty.Name, propertyValue);
806throw DataServiceException.CreateBadRequestError(Strings.BadRequest_CannotSetCollectionsToNull(resourceProperty.Name));
810SegmentInfo segmentInfo = CreateSegment(resourceProperty, resourceProperty.Name, propertySet, true /* singleResult */);
818this.Updatable.AddReferenceToCollection(resource, resourceProperty.Name, resourceInstance);
System\Data\Services\Serializers\SyndicationSerializer.cs (16)
235title = this.RequestDescription.Property.Name;
795if (SyndicationSerializer.EpmNeedToSkip(currentSourceRoot, property.Name))
808generator.Emit(OpCodes.Ldstr, property.Name);
829if (SyndicationSerializer.EpmNeedToSkip(currentSourceRoot, property.Name))
834WritePrimitiveValue(propertyValue, property.Name, property.ResourceType.FullName, content);
840string propertyName = property.Name;
846(this.ShouldExpandSegment(property.Name)) ? GetExpandedProperty(this.Provider, expanded, customObject, property) : null;
859relativeUri + "/" + property.Name,
861SyndicationSerializer.EpmGetComplexPropertySegment(currentSourceRoot, property.Name));
1052string segmentIdentifier = navProperty.Name;
1054if (!this.ShouldExpandSegment(navProperty.Name))
1057XmlConstants.DataWebRelatedNamespace + navProperty.Name,
1058navProperty.Name,
1075link.RelationshipType = XmlConstants.DataWebRelatedNamespace + navProperty.Name;
1076link.Title = navProperty.Name;
1103navProperty.Name,