| Visual Basic (Declaration) | |
|---|---|
Public Function FindEntityGraph( _ ByVal roots As IEnumerable, _ ByVal spans As IEnumerable(Of EntitySpan), _ ByVal entityState As EntityState _ ) As IList(Of Object) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As EntityManager Dim roots As IEnumerable Dim spans As IEnumerable(Of EntitySpan) Dim entityState As EntityState Dim value As IList(Of Object) value = instance.FindEntityGraph(roots, spans, entityState) | |
| C# | |
|---|---|
public IList<object> FindEntityGraph( IEnumerable roots, IEnumerable<EntitySpan> spans, EntityState entityState ) | |
| C++/CLI | |
|---|---|
public: IList<Object^>^ FindEntityGraph( IEnumerable^ roots, IEnumerable<EntitySpan^>^ spans, EntityState entityState ) | |
Parameters
- roots
- A list of entities used as the starting point for retrieving all other related entities
- spans
- One or more EntitySpans
- entityState
- EntityState of entities to return
Return Value
A list of related Entities| Exception | Description |
|---|---|
| System.ArgumentNullException | Thrown if pEntityRoots and/or pEntitySpans is null. |
| System.ArgumentException | Thrown if the type in a span does not have a matching type in one of the roots. |
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family