IdeaBlade DevForce 2010 Help Reference
EntitySpan Class
Members  See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace : EntitySpan Class



A chained collection of EntityRelationLinks used by EntityManager.FindEntityGraph.

Syntax

Visual Basic (Declaration) 
<DataContractAttribute()>
Public Class EntitySpan 
Visual Basic (Usage)Copy Code
Dim instance As EntitySpan
C# 
[DataContractAttribute()]
public class EntitySpan 
C++/CLI 
[DataContractAttribute()]
public ref class EntitySpan 

Remarks

A single EntitySpan represents the relations among a graph of entities. You must be able to "walk" the spans without jumping or backtracking. For example, a single EntitySpan might be defined for Customer -> Order -> OrderDetails, because relationships are defined between each of these entities and navigation is straightforward. You cannot, however define a single span for Customer -> Order -> OrderDetails -> Employee, because navigation from OrderDetails to Employee is not defined. In this case two spans would be required, one for Customer -> Order -> OrderDetails, and another for Customer -> Order -> Employee.

The EntitySpan is used in retrieving an entity graph with EntityManager.FindEntityGraph

Inheritance Hierarchy

System.Object
   IdeaBlade.EntityModel.EntitySpan

Requirements

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

See Also

© 2013 All Rights Reserved.