Visual Basic (Declaration) | |
---|---|
<DataContractAttribute()> Public Class EntitySpan |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As EntitySpan |
C# | |
---|---|
[DataContractAttribute()] public class EntitySpan |
C++/CLI | |
---|---|
[DataContractAttribute()] public ref class EntitySpan |
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
System.Object
IdeaBlade.EntityModel.EntitySpan
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