IdeaBlade DevForce 2010 Help Reference
GetEntityRelation(String) Method
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > EntityRelation Class > GetEntityRelation Method : GetEntityRelation(String) Method



relationName
Returns the first EntityRelation having the specified relation name.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function GetEntityRelation( _
   ByVal relationName As String _
) As EntityRelation
Visual Basic (Usage)Copy Code
Dim relationName As String
Dim value As EntityRelation
 
value = EntityRelation.GetEntityRelation(relationName)
C# 
public static EntityRelation GetEntityRelation( 
   string relationName
)
C++/CLI 
public:
static EntityRelation^ GetEntityRelation( 
   String^ relationName
) 

Parameters

relationName

Remarks

The relation name can include a namespace qualifier. Relations are first searched by the fully-qualified EntityRelation.RelationName, and then if a match is not found by the non-qualified name.

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.