2 instantiations of ResourceAssociationTypeEnd
System.Data.Services (2)
System\Data\Services\Serializers\MetadataSerializer.cs (2)
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));
17 references to ResourceAssociationTypeEnd
System.Data.Services (17)
System\Data\Services\Providers\ResourceAssociationType.cs (11)
29
private readonly
ResourceAssociationTypeEnd
end1;
32
private readonly
ResourceAssociationTypeEnd
end2;
41
internal ResourceAssociationType(string name, string namespaceName,
ResourceAssociationTypeEnd
end1,
ResourceAssociationTypeEnd
end2)
65
internal
ResourceAssociationTypeEnd
End1
71
internal
ResourceAssociationTypeEnd
End2
82
internal
ResourceAssociationTypeEnd
GetResourceAssociationTypeEnd(ResourceType resourceType, ResourceProperty resourceProperty)
86
foreach (
ResourceAssociationTypeEnd
end in new[] { this.end1, this.end2 })
103
internal
ResourceAssociationTypeEnd
GetRelatedResourceAssociationSetEnd(ResourceType resourceType, ResourceProperty resourceProperty)
107
ResourceAssociationTypeEnd
thisEnd = this.GetResourceAssociationTypeEnd(resourceType, resourceProperty);
111
foreach (
ResourceAssociationTypeEnd
end in new[] { this.end1, this.end2 })
System\Data\Services\Serializers\MetadataSerializer.cs (6)
541
ResourceAssociationTypeEnd
thisEnd = associationType.GetResourceAssociationTypeEnd(type, resourceProperty);
542
ResourceAssociationTypeEnd
relatedEnd = associationType.GetRelatedResourceAssociationSetEnd(type, resourceProperty);
582
foreach (
ResourceAssociationTypeEnd
endInfo in new[] { association.End1, association.End2 })
618
ResourceAssociationTypeEnd
associationTypeEnd1 = associationSet.ResourceAssociationType.GetResourceAssociationTypeEnd(associationSet.End1.ResourceType, associationSet.End1.ResourceProperty);
619
ResourceAssociationTypeEnd
associationTypeEnd2 = associationSet.ResourceAssociationType.GetResourceAssociationTypeEnd(associationSet.End2.ResourceType, associationSet.End2.ResourceProperty);
632
private static void WriteAssociationSetEnd(XmlWriter xmlWriter, ResourceAssociationSetEnd associationSetEnd,
ResourceAssociationTypeEnd
associationTypeEnd)