Share via


IEntityValue.TryGetRelatedEntities Method

Definition

Try to get related entities saved through earlier SetRelatedEntities(String, IReadOnlyCollection<IEntityValue>).

public bool TryGetRelatedEntities (string collectionName, out System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.ProjectSystem.Query.IEntityValue>? entityValues);
abstract member TryGetRelatedEntities : string * seq -> bool
Public Function TryGetRelatedEntities (collectionName As String, ByRef entityValues As IEnumerable(Of IEntityValue)) As Boolean

Parameters

collectionName
String

The collection name.

entityValues
IEnumerable<IEntityValue>

Entity values in the collection.

Returns

true if child entities can be found in the model.

Applies to