32 references to ResourceProperty
System.Data.Services (32)
System\Data\Services\Providers\DataServiceProviderWrapper.cs (4)
573
if (relatedEnd.
ResourceProperty
!= null)
575
relatedProperty = relatedType.TryResolvePropertyName(relatedEnd.
ResourceProperty
.Name);
587
thisEnd.
ResourceProperty
!= resourceProperty ||
590
relatedEnd.
ResourceProperty
!= relatedProperty)
System\Data\Services\Providers\ResourceAssociationSet.cs (7)
56
if (end1.
ResourceProperty
== null && end2.
ResourceProperty
== null)
61
if (end1.ResourceType == end2.ResourceType && end1.
ResourceProperty
== end2.
ResourceProperty
)
131
if ((end.
ResourceProperty
== null && resourceProperty == null) ||
132
(end.
ResourceProperty
!= null && resourceProperty != null && end.
ResourceProperty
.Name == resourceProperty.Name))
System\Data\Services\Serializers\MetadataSerializer.cs (21)
618
ResourceAssociationTypeEnd associationTypeEnd1 = associationSet.ResourceAssociationType.GetResourceAssociationTypeEnd(associationSet.End1.ResourceType, associationSet.End1.
ResourceProperty
);
619
ResourceAssociationTypeEnd associationTypeEnd2 = associationSet.ResourceAssociationType.GetResourceAssociationTypeEnd(associationSet.End2.ResourceType, associationSet.End2.
ResourceProperty
);
841
ResourceAssociationSetEnd end1 = associationSet.End1.
ResourceProperty
!= null ? associationSet.End1 : associationSet.End2;
844
ResourceAssociationSetEnd end2 = (end1 == associationSet.End1 ? (associationSet.End2.
ResourceProperty
!= null ? associationSet.End2 : null) : null);
846
string associationTypeName = end1.ResourceType.Name + '_' + end1.
ResourceProperty
.Name;
849
associationTypeName = associationTypeName + '_' + end2.ResourceType.Name + '_' + end2.
ResourceProperty
.Name;
1031
bool isBiDirectional = associationSet.End1.
ResourceProperty
!= null && associationSet.End2.
ResourceProperty
!= null;
1036
if (associationSet.End1.
ResourceProperty
!= null)
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
);
1102
if (relatedEnd.
ResourceProperty
!= null)
1104
ResourceAssociationSet reverseAssociationSet = this.provider.GetResourceAssociationSet(this.provider.ValidateResourceSet(relatedEnd.ResourceSet), relatedEnd.ResourceType, relatedEnd.
ResourceProperty
);
1113
if (relatedEnd.
ResourceProperty
!= null)
1115
reverseAssociationSetKey = relatedEnd.ResourceSet.Name + '_' + relatedEnd.
ResourceProperty
.ResourceType.FullName + '_' + relatedEnd.
ResourceProperty
.Name;