44 references to ResourceType
System.Data.Services (44)
System\Data\Services\Epm\EpmContentSerializer.cs (2)
174currentType = property.ResourceType; 202currentType = property.ResourceType;
System\Data\Services\Internal\NeedSkipTokenVisitor.cs (1)
167this.property != null && this.property.ResourceType.ResourceTypeKind == ResourceTypeKind.Primitive,
System\Data\Services\Parsing\RequestQueryParser.cs (1)
2098property.ResourceType,
System\Data\Services\Providers\BasicExpandProvider.cs (2)
1083Type segmentType = property.ResourceType.InstanceType; 1264MethodInfo getter = DataServiceProviderMethods.GetSequenceValueMethodInfo.MakeGenericMethod(property.ResourceType.InstanceType);
System\Data\Services\Providers\EntityPropertyMappingInfo.cs (1)
226resourceProperty != null ? resourceProperty.ResourceType : null,
System\Data\Services\Providers\ExpandedProjectionNode.cs (1)
210return this.Property.ResourceType;
System\Data\Services\Providers\ObjectContextServiceProvider.cs (6)
792connectedTypes.Add(property.ResourceType); 2229baseResourceType = resourceProperty.ResourceType; 2254foreach (ResourceProperty subProperty in complexProperty.ResourceType.Properties) 2744if (property.ResourceType.ResourceTypeKind == ResourceTypeKind.ComplexType) 2746this.AddVisibleResourceType(property.ResourceType); 2747this.AddComplexPropertTypes(property.ResourceType);
System\Data\Services\Providers\ReflectionServiceProvider.cs (1)
78ResourceType targetType = resourceProperty.ResourceType;
System\Data\Services\Providers\ResourceProperty.cs (4)
127if (this.ResourceType.ResourceTypeKind != ResourceTypeKind.Primitive) 129throw new InvalidOperationException(Strings.ResourceProperty_MimeTypeAttributeOnNonPrimitive(this.Name, this.ResourceType.FullName)); 180return this.ResourceType.ResourceTypeKind; 214this.ResourceType.SetReadOnly();
System\Data\Services\Providers\ResourceType.cs (2)
788(!deserializer.Service.Configuration.EnableTypeConversion && clientProp.ResourceType.ResourceTypeKind == ResourceTypeKind.Primitive)) 812propertyType = clientProp.ResourceType;
System\Data\Services\RequestQueryProcessor.cs (1)
675currentNode == null || currentNode.ResourceType == property.ResourceType,
System\Data\Services\RequestUriProcessor.cs (1)
848segment.TargetResourceType = segment.ProjectedProperty.ResourceType;
System\Data\Services\Serializers\Deserializer.cs (1)
863result.TargetResourceType = property.ResourceType;
System\Data\Services\Serializers\MetadataSerializer.cs (8)
489xmlWriter.WriteAttributeString(XmlConstants.Type, resourceProperty.ResourceType.FullName); 512elementName = resourceProperty.ResourceType.FullName; 532elementName = resourceProperty.ResourceType.FullName; 926ResourceType propertyType = property.ResourceType; 979if (property.ResourceType.ResourceTypeKind == ResourceTypeKind.ComplexType) 981if (this.AddVisibleResourceType(property.ResourceType)) 983this.AddComplexPropertTypes(property.ResourceType); 1115reverseAssociationSetKey = relatedEnd.ResourceSet.Name + '_' + relatedEnd.ResourceProperty.ResourceType.FullName + '_' + relatedEnd.ResourceProperty.Name;
System\Data\Services\Serializers\PlainXmlDeserializer.cs (3)
166segmentInfo.ProjectedProperty.ResourceType.ResourceTypeKind != ResourceTypeKind.EntityType, 511(!this.Service.Configuration.EnableTypeConversion && resourceProperty.ResourceType.ResourceTypeKind == ResourceTypeKind.Primitive); 519propertyType = resourceProperty.ResourceType;
System\Data\Services\Serializers\PlainXmlSerializer.cs (2)
295this.WriteComplexObjectValue(propertyValue, propertyName, property.ResourceType); 300this.WritePrimitiveValue(propertyValue, property.Name, property.ResourceType);
System\Data\Services\Serializers\SyndicationSerializer.cs (7)
199resourcePropertyType = property.ResourceType; 809generator.Emit(OpCodes.Ldstr, property.ResourceType.FullName); 834WritePrimitiveValue(propertyValue, property.Name, property.ResourceType.FullName, content); 858property.ResourceType, 970propertyResourceType = property.ResourceType; 1102navProperty.ResourceType, 1119this.WriteEntryElement(propertyValue as IExpandedResult, expandedPropertyValue, navProperty.ResourceType, propertyAbsoluteUri, propertyRelativeUri, inlineItem);