Share via


ExtensionMethods.TryFindContainerQualifiedEntitySet Method

Definition

Finds the entity set with qualified entity set name (not simple entity set name).

public static bool TryFindContainerQualifiedEntitySet (this Microsoft.OData.Edm.IEdmModel model, string containerQualifiedEntitySetName, out Microsoft.OData.Edm.IEdmEntitySet entitySet);
static member TryFindContainerQualifiedEntitySet : Microsoft.OData.Edm.IEdmModel * string * IEdmEntitySet -> bool
<Extension()>
Public Function TryFindContainerQualifiedEntitySet (model As IEdmModel, containerQualifiedEntitySetName As String, ByRef entitySet As IEdmEntitySet) As Boolean

Parameters

model
IEdmModel

The model.

containerQualifiedEntitySetName
String

Name of the container qualified element, can be an OperationImport or an EntitySet.

entitySet
IEdmEntitySet

The Entity Set that was found.

Returns

True if an entityset was found from the qualified container name, false if none were found.

Applies to