| Visual Basic (Declaration) | |
|---|---|
Public Overloads Function GetEntityRelation( _ ByVal relationName As String, _ Optional ByVal assembly As Assembly _ ) As EntityRelation | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As EntityMetadataStore Dim relationName As String Dim assembly As Assembly Dim value As EntityRelation value = instance.GetEntityRelation(relationName, assembly) | |
| C# | |
|---|---|
public EntityRelation GetEntityRelation( string relationName, Assembly assembly ) | |
| C++/CLI | |
|---|---|
public: EntityRelation^ GetEntityRelation( String^ relationName, Assembly^ assembly ) | |
Parameters
- relationName
- assembly
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.
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