DevForce Help Reference
GetEntityRelation(String,Boolean) Method


True to use a non-namespace qualified relation name search
Returns the first EntityRelation having the specified relation name.
Syntax
'Declaration
 
Public Overloads Function GetEntityRelation( _
   ByVal relationName As String, _
   ByVal useShortName As Boolean _
) As EntityRelation
'Usage
 
Dim instance As EntityMetadataStore
Dim relationName As String
Dim useShortName As Boolean
Dim value As EntityRelation
 
value = instance.GetEntityRelation(relationName, useShortName)
public EntityRelation GetEntityRelation( 
   string relationName,
   bool useShortName
)

Parameters

relationName
useShortName
True to use a non-namespace qualified relation name search
Remarks
Search for an EntityRelation by either its namespace-qualified RelationName or its EntityRelation.Name.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EntityMetadataStore Class
EntityMetadataStore Members
Overload List

Send Feedback