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



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

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function From( _
   ByVal entityRelationName As String, _
   ByVal queryDirection As QueryDirection _
) As EntityRelationLink
Visual Basic (Usage)Copy Code
Dim entityRelationName As String
Dim queryDirection As QueryDirection
Dim value As EntityRelationLink
 
value = EntityRelationLink.From(entityRelationName, queryDirection)
C++/CLI 
public:
static EntityRelationLink^ From( 
   String^ entityRelationName,
   QueryDirection queryDirection
) 

Parameters

entityRelationName
Describes the relationship between two entities
queryDirection
Whether query is to the parent or the child

Remarks

The entityRelationName can optionally contain a namespace qualifier. If you are searching by a non-qualified relation name and multiple EntityRelations have this short name, only the first is returned.

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.