Share via


EntityFrameworkDataServiceProvider.GetResourceAssociationSet Method

Gets the ResourceAssociationSet instance when given the source association end.

Namespace:  System.Data.Services.Providers
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

Syntax

'Declaration
Public Overridable Function GetResourceAssociationSet ( _
    resourceSet As ResourceSet, _
    resourceType As ResourceType, _
    resourceProperty As ResourceProperty _
) As ResourceAssociationSet
'Usage
Dim instance As EntityFrameworkDataServiceProvider 
Dim resourceSet As ResourceSet 
Dim resourceType As ResourceType 
Dim resourceProperty As ResourceProperty 
Dim returnValue As ResourceAssociationSet 

returnValue = instance.GetResourceAssociationSet(resourceSet, _
    resourceType, resourceProperty)
public virtual ResourceAssociationSet GetResourceAssociationSet(
    ResourceSet resourceSet,
    ResourceType resourceType,
    ResourceProperty resourceProperty
)
public:
virtual ResourceAssociationSet^ GetResourceAssociationSet(
    ResourceSet^ resourceSet, 
    ResourceType^ resourceType, 
    ResourceProperty^ resourceProperty
)
abstract GetResourceAssociationSet : 
        resourceSet:ResourceSet * 
        resourceType:ResourceType * 
        resourceProperty:ResourceProperty -> ResourceAssociationSet  
override GetResourceAssociationSet : 
        resourceSet:ResourceSet * 
        resourceType:ResourceType * 
        resourceProperty:ResourceProperty -> ResourceAssociationSet
public function GetResourceAssociationSet(
    resourceSet : ResourceSet, 
    resourceType : ResourceType, 
    resourceProperty : ResourceProperty
) : ResourceAssociationSet

Parameters

Return Value

Type: System.Data.Services.Providers.ResourceAssociationSet
ResourceAssociationSet instance.

Implements

IDataServiceMetadataProvider.GetResourceAssociationSet(ResourceSet, ResourceType, ResourceProperty)

See Also

Reference

EntityFrameworkDataServiceProvider Class

System.Data.Services.Providers Namespace