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
- name
Type: System.String
Name of the resource set to resolve.
- resourceSet
Type: System.Data.Services.Providers.ResourceSet%
Returns the resolved resource set, null if no resource set for the given name was found.
Return Value
Type: System.Boolean
True if resource set with the given name was found, false otherwise.
Implements
IDataServiceMetadataProvider.TryResolveResourceSet(String, ResourceSet%)