TryGetRelativeEntitySetPath Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Analyzes IEdmFunctionImport.EntitySet expression and returns a relative path to an IEdmFunctionImport if available. The path starts with the parameter and may have optional sequence of IEdmFunctionImport segments.
Namespace: Microsoft.Data.Edm
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function TryGetRelativeEntitySetPath ( _
functionImport As IEdmFunctionImport, _
<OutAttribute> ByRef parameter As IEdmFunctionParameter, _
<OutAttribute> ByRef path As IEnumerable(Of IEdmNavigationProperty) _
) As Boolean
'Usage
Dim functionImport As IEdmFunctionImport
Dim parameter As IEdmFunctionParameter
Dim path As IEnumerable(Of IEdmNavigationProperty)
Dim returnValue As Boolean
returnValue = functionImport.TryGetRelativeEntitySetPath(parameter, _
path)
public static bool TryGetRelativeEntitySetPath(
this IEdmFunctionImport functionImport,
out IEdmFunctionParameter parameter,
out IEnumerable<IEdmNavigationProperty> path
)
[ExtensionAttribute]
public:
static bool TryGetRelativeEntitySetPath(
IEdmFunctionImport^ functionImport,
[OutAttribute] IEdmFunctionParameter^% parameter,
[OutAttribute] IEnumerable<IEdmNavigationProperty^>^% path
)
static member TryGetRelativeEntitySetPath :
functionImport:IEdmFunctionImport *
parameter:IEdmFunctionParameter byref *
path:IEnumerable<IEdmNavigationProperty> byref -> bool
public static function TryGetRelativeEntitySetPath(
functionImport : IEdmFunctionImport,
parameter : IEdmFunctionParameter,
path : IEnumerable<IEdmNavigationProperty>
) : boolean
Parameters
- functionImport
Type: Microsoft.Data.Edm..::..IEdmFunctionImport
The function import containing the entity set expression.
- parameter
Type: Microsoft.Data.Edm..::..IEdmFunctionParameter%
The function import parameter from which the relative entity set path starts.
- path
Type: System.Collections.Generic..::..IEnumerable< (Of < ( <'IEdmNavigationProperty> ) > ) >%
The optional sequence of navigation properties.
Return Value
Type: System..::..Boolean
True if the entity set expression of the functionImport contains a relative path an IEdmEntitySet, otherwise false.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IEdmFunctionImport. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.103) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).