17 references to ResourceType
System.Data.Services (17)
System\Data\Services\Providers\DataServiceProviderWrapper.cs (4)
571
ResourceType relatedType = this.ValidateResourceType(relatedEnd.
ResourceType
);
584
resourceType = this.ValidateResourceType(thisEnd.
ResourceType
);
586
thisEnd.
ResourceType
!= resourceType ||
589
relatedEnd.
ResourceType
!= relatedType ||
System\Data\Services\Providers\ResourceAssociationSet.cs (3)
61
if (end1.
ResourceType
== end2.
ResourceType
&& end1.ResourceProperty == end2.ResourceProperty)
129
if (end.ResourceSet.Name == resourceSet.Name && end.
ResourceType
.IsAssignableFrom(resourceType))
System\Data\Services\Serializers\MetadataSerializer.cs (10)
618
ResourceAssociationTypeEnd associationTypeEnd1 = associationSet.ResourceAssociationType.GetResourceAssociationTypeEnd(associationSet.End1.
ResourceType
, associationSet.End1.ResourceProperty);
619
ResourceAssociationTypeEnd associationTypeEnd2 = associationSet.ResourceAssociationType.GetResourceAssociationTypeEnd(associationSet.End2.
ResourceType
, associationSet.End2.ResourceProperty);
846
string associationTypeName = end1.
ResourceType
.Name + '_' + end1.ResourceProperty.Name;
849
associationTypeName = associationTypeName + '_' + end2.
ResourceType
.Name + '_' + end2.ResourceProperty.Name;
1050
end1Name = GetAssociationTypeLookupName(associationSet.End1.
ResourceType
, associationSet.End1.ResourceProperty);
1051
end2Name = GetAssociationTypeLookupName(associationSet.End2.
ResourceType
, associationSet.End2.ResourceProperty);
1058
new ResourceAssociationTypeEnd(end1Name, associationSet.End1.
ResourceType
, associationSet.End1.ResourceProperty, associationSet.End2.ResourceProperty),
1059
new ResourceAssociationTypeEnd(end2Name, associationSet.End2.
ResourceType
, associationSet.End2.ResourceProperty, associationSet.End1.ResourceProperty));
1065
string relatedEndLookupKey = GetAssociationTypeLookupName(relatedEnd.
ResourceType
, relatedEnd.ResourceProperty);
1104
ResourceAssociationSet reverseAssociationSet = this.provider.GetResourceAssociationSet(this.provider.ValidateResourceSet(relatedEnd.ResourceSet), relatedEnd.
ResourceType
, relatedEnd.ResourceProperty);