Jaa


ExtensionMethods.TryGetStaticEntitySet Method

Definition

Analyzes IEdmOperationImport.EntitySet expression and returns a static IEdmEntitySet reference if available.

public static bool TryGetStaticEntitySet (this Microsoft.OData.Edm.IEdmOperationImport operationImport, Microsoft.OData.Edm.IEdmModel model, out Microsoft.OData.Edm.IEdmEntitySetBase entitySet);
static member TryGetStaticEntitySet : Microsoft.OData.Edm.IEdmOperationImport * Microsoft.OData.Edm.IEdmModel * IEdmEntitySetBase -> bool
<Extension()>
Public Function TryGetStaticEntitySet (operationImport As IEdmOperationImport, model As IEdmModel, ByRef entitySet As IEdmEntitySetBase) As Boolean

Parameters

operationImport
IEdmOperationImport

The operation import containing the entity set expression.

model
IEdmModel

The model containing the operation import.

entitySet
IEdmEntitySetBase

The static entity set of the operation import.

Returns

True if the entity set expression of the operationImport contains a static reference to an IEdmEntitySet, otherwise false.

Remarks

TODO: Support resolving target path to a contained entity set.

Applies to