1 write to PropertyType
System.Data.Services.Client (1)
System\Data\Services\Client\ClientType.cs (1)
886
this.
PropertyType
= propertyType;
28 references to PropertyType
System.Data.Services.Client (28)
parent\Server\System\Data\Services\Providers\EntityPropertyMappingInfo.cs (1)
157
resourceProperty.IsKnownType ? null : ClientType.Create(resourceProperty.
PropertyType
),
System\Data\Services\Client\AtomMaterializer.cs (9)
534
expectedType = property.
PropertyType
;
796
materializer.Materialize(atomProperty.Entry, property.
PropertyType
, /* includeLinks */ false);
809
ClientType complexType = ClientType.Create(property.
PropertyType
);
810
object complexInstance = Util.ActivatorCreateInstance(property.
PropertyType
);
825
expectedType = property.
PropertyType
;
1150
collectionType = property.
PropertyType
;
1316
ClientConvert.IsKnownType(MaterializeAtom.GetEntryClientType(property.TypeName, context, prop.
PropertyType
, true).ElementType))
1324
ClientType complexType = ClientType.Create(prop.
PropertyType
);
1957
this.Materialize(e.Entry, prop.
PropertyType
, includeLinks);
System\Data\Services\Client\Binding\BindingEntityInfo.cs (2)
288
Type propertyType = p.
PropertyType
;
343
if (typeof(INotifyPropertyChanged).IsAssignableFrom(property.
PropertyType
))
System\Data\Services\Client\ClientType.cs (8)
897
this.setMethod = GetCollectionMethod(this.
PropertyType
, typeof(IDictionary<,>), "set_Item", out this.CollectionType);
900
this.containsMethod = GetCollectionMethod(this.
PropertyType
, typeof(ICollection<>), "Contains", out this.CollectionType);
901
this.addMethod = GetAddToCollectionMethod(this.
PropertyType
, out this.CollectionType);
902
this.removeMethod = GetRemoveFromCollectionMethod(this.
PropertyType
, out this.CollectionType);
976
Debug.Assert(this.
PropertyType
.IsAssignableFrom(instance.GetType()), "unexpected collection instance");
1021
Debug.Assert(this.
PropertyType
.IsAssignableFrom(instance.GetType()), "unexpected dictionary instance");
1030
Debug.Assert(this.
PropertyType
.IsAssignableFrom(instance.GetType()), "unexpected collection instance");
1041
Debug.Assert((null == value) || this.
PropertyType
.IsAssignableFrom(value.GetType()), "unexpected property value to set");
System\Data\Services\Client\DataServiceContext.cs (8)
2478
string typename = ClientConvert.GetEdmType(property.
PropertyType
);
3284
DataServiceRequest dataServiceRequest = DataServiceRequest.GetInstance(property.
PropertyType
, requestUri);
3339
ClientType nested = ClientType.Create(property.
PropertyType
);
3510
type = ClientType.Create(property.CollectionType ?? property.
PropertyType
);
3866
if (BindingEntityInfo.IsDataServiceCollection(property.
PropertyType
))
3978
if (property.
PropertyType
== typeof(byte[]))
4002
object convertedValue = property.
PropertyType
== typeof(string) ?
4004
ClientConvert.ChangeType(reader.ReadToEnd(), property.
PropertyType
);