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