31 references to Property
System.Data.Services (31)
System\Data\Services\DataService.cs (17)
1048description.Property.Kind == ResourcePropertyKind.ResourceSetReference, 1075Debug.Assert(description.Property.Kind == ResourcePropertyKind.ResourceSetReference, "Expecting POST resource set property"); 1108else if (description.LinkUri && description.Property.Kind != ResourcePropertyKind.ResourceReference) 1122else if (description.Property != null && description.Property.IsOfKind(ResourcePropertyKind.Key)) 1124throw DataServiceException.CreateBadRequestError(Strings.DataService_CannotUpdateKeyProperties(description.Property.Name)); 1181if (description.Property != null) 1207if (description.Property != null && description.Property.IsOfKind(ResourcePropertyKind.Key)) 1209throw DataServiceException.CreateBadRequestError(Strings.DataService_CannotUpdateKeyProperties(description.Property.Name)); 1211else if (description.Property.Type.IsValueType) 1367Debug.Assert(description.Property != null, "non-open type property"); 1634Debug.Assert(description.Property != null, "description.Property != null"); 1635if (description.Property.Kind == ResourcePropertyKind.ResourceReference) 1637dataService.Updatable.SetReference(parentEntity, description.Property.Name, null); 1641Debug.Assert(description.Property.Kind == ResourcePropertyKind.ResourceSetReference, "expecting collection nav properties"); 1644dataService.Updatable.RemoveReferenceFromCollection(parentEntity, description.Property.Name, childEntity);
System\Data\Services\RequestDescription.cs (1)
417segmentInfo.ProjectedProperty = description.Property;
System\Data\Services\Serializers\Deserializer.cs (10)
270if (description.Property != null && description.Property.Type == typeof(System.Data.Linq.Binary)) 286if (description.Property != null && propertyValue != null) 291requestValue = WebConvert.StringToPrimitive((string)propertyValue, description.Property.Type); 295throw DataServiceException.CreateBadRequestError(Strings.BadRequest_ErrorInConvertingPropertyValue(description.Property.Name, description.Property.Type), e); 672Debug.Assert(description.Property != null, "description.Property != null"); 675service.Updatable.SetReference(entityGettingModified, description.Property.Name, linkResource); 679service.Updatable.AddReferenceToCollection(entityGettingModified, description.Property.Name, linkResource); 751Debug.Assert(requestDescription.Property.Kind == ResourcePropertyKind.ResourceSetReference, "Expecting POST resource set property");
System\Data\Services\Serializers\SyndicationSerializer.cs (3)
197Debug.Assert(this.RequestDescription.Property != null, "this.RequestDescription.Property - otherwise Property source set with no Property specified."); 198ResourceProperty property = this.RequestDescription.Property; 235title = this.RequestDescription.Property.Name;