22 references to Name
System.Data.Services (22)
System\Data\Services\Epm\EpmSourceTree.cs (2)
78
throw new InvalidOperationException(Strings.EpmSourceTree_InvalidSourcePath(epmInfo.DefiningType.
Name
, sourceName));
105
throw new InvalidOperationException(Strings.EpmSourceTree_DuplicateEpmAttrsWithSameSourceName(epmInfo.Attribute.SourcePath, epmInfo.DefiningType.
Name
));
System\Data\Services\Epm\EpmTargetTree.cs (1)
121
throw new ArgumentException(Strings.EpmTargetTree_DuplicateEpmAttrsWithSameTargetName(EpmTargetTree.GetPropertyNameFromEpmInfo(currentSegment.EpmInfo), currentSegment.EpmInfo.DefiningType.
Name
, currentSegment.EpmInfo.Attribute.SourcePath, epmInfo.Attribute.SourcePath));
System\Data\Services\Providers\DataServiceProviderWrapper.cs (2)
219
resourceType != null ? resourceType.
Name
: null,
221
Strings.DataServiceProviderWrapper_MultipleResourceTypesWithSameName(resourceType.
Name
));
System\Data\Services\Providers\EntityPropertyMappingInfo.cs (1)
212
throw new InvalidOperationException(Strings.EpmSourceTree_InaccessiblePropertyOnType(propertyName, resourceType.
Name
));
System\Data\Services\Providers\ObjectContextServiceProvider.cs (2)
2105
throw new InvalidOperationException(Strings.ObjectContext_UnknownPropertyNameInEpmAttributes(propertyInformation.SourcePath, baseResourceType.
Name
));
2226
throw new InvalidOperationException(Strings.EpmSourceTree_InaccessiblePropertyOnType(pathSegment, baseResourceType.
Name
));
System\Data\Services\Providers\ReflectionServiceProvider.cs (1)
84
string associationName = resourceType.
Name
+ '_' + resourceProperty.Name;
System\Data\Services\Providers\ResourceType.cs (1)
621
throw new InvalidOperationException(Strings.EpmOnlyAllowedOnEntityTypes(this.
Name
));
System\Data\Services\Serializers\Deserializer.cs (1)
259
throw new DataServiceException(415, Strings.BadRequest_InvalidContentType(host.RequestContentType, description.TargetResourceType.
Name
));
System\Data\Services\Serializers\JsonSerializer.cs (2)
275
string tagName = elementType.
Name
;
278
tagName = System.Xml.XmlConvert.EncodeName(elementType.
Name
);
System\Data\Services\Serializers\MetadataSerializer.cs (7)
322
xmlWriter.WriteAttributeString(XmlConstants.Name, XmlConvert.EncodeName(entityType.
Name
));
450
xmlWriter.WriteAttributeString(XmlConstants.Name, XmlConvert.EncodeName(complexType.
Name
));
846
string associationTypeName = end1.ResourceType.
Name
+ '_' + end1.ResourceProperty.Name;
849
associationTypeName = associationTypeName + '_' + end2.ResourceType.
Name
+ '_' + end2.ResourceProperty.Name;
864
string lookupName = resourceType.
Name
;
1038
end1Name = resourceType.
Name
;
1044
end2Name = resourceType.
Name
;
System\Data\Services\Serializers\SyndicationSerializer.cs (2)
468
title = expectedType.
Name
;
756
throw new DataServiceException(500, Strings.BadProvider_InconsistentEntityOrComplexTypeUsage(resourceType.
Name
));