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