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