IdeaBlade DevForce 2010 Help Reference
From(EntityRelation,QueryDirection) Method
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > EntityRelationLink Class > From Method : From(EntityRelation,QueryDirection) Method



pEntityRelation
Describes the relationship between two entities
pQueryDirection
Whether query is to the parent or the child
Returns an EntityRelationLink from the EntityRelation and QueryDirection specified.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function From( _
   ByVal pEntityRelation As EntityRelation, _
   ByVal pQueryDirection As QueryDirection _
) As EntityRelationLink
Visual Basic (Usage)Copy Code
Dim pEntityRelation As EntityRelation
Dim pQueryDirection As QueryDirection
Dim value As EntityRelationLink
 
value = EntityRelationLink.From(pEntityRelation, pQueryDirection)

Parameters

pEntityRelation
Describes the relationship between two entities
pQueryDirection
Whether query is to the parent or the child

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.