Share via


EntityFrameworkDataServiceProvider.TryResolveResourceSet Method

Given the specified name, tries to find a resource set.

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

Syntax

'Declaration
Public Overridable Function TryResolveResourceSet ( _
    name As String, _
    <OutAttribute> ByRef resourceSet As ResourceSet _
) As Boolean
'Usage
Dim instance As EntityFrameworkDataServiceProvider 
Dim name As String 
Dim resourceSet As ResourceSet 
Dim returnValue As Boolean 

returnValue = instance.TryResolveResourceSet(name, _
    resourceSet)
public virtual bool TryResolveResourceSet(
    string name,
    out ResourceSet resourceSet
)
public:
virtual bool TryResolveResourceSet(
    String^ name, 
    [OutAttribute] ResourceSet^% resourceSet
)
abstract TryResolveResourceSet : 
        name:string * 
        resourceSet:ResourceSet byref -> bool  
override TryResolveResourceSet : 
        name:string * 
        resourceSet:ResourceSet byref -> bool
public function TryResolveResourceSet(
    name : String, 
    resourceSet : ResourceSet
) : boolean

Parameters

Return Value

Type: System.Boolean
True if resource set with the given name was found, false otherwise.

Implements

IDataServiceMetadataProvider.TryResolveResourceSet(String, ResourceSet%)

See Also

Reference

EntityFrameworkDataServiceProvider Class

System.Data.Services.Providers Namespace