DevForce Help Reference
GetEntityRelation(String,Assembly) Method


Returns the first EntityRelation having the specified relation name.
Syntax
'Declaration
 
Public Overloads Function GetEntityRelation( _
   ByVal relationName As String, _
   Optional ByVal assembly As Assembly _
) As EntityRelation
'Usage
 
Dim instance As EntityMetadataStore
Dim relationName As String
Dim assembly As Assembly
Dim value As EntityRelation
 
value = instance.GetEntityRelation(relationName, assembly)
public EntityRelation GetEntityRelation( 
   string relationName,
   Assembly assembly
)

Parameters

relationName
assembly
Remarks
The relation name can include a namespace qualifier. Relations are first searched by the fully-qualified RelationName, and then if a match is not found by the non-qualified 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