Data Access has been discontinued. Please refer to this page for more information.


This article is relevant to entity models that utilize the deprecated Visual Studio integration of Telerik Data Access. The current documentation of the Data Access framework is available here.

The MetaDictionaryAssociation class represents a Dictionary association in the Telerik Data Access metadata model. It derives from the MetaAssociation class.

The following example shows you how to access all dictionary associations from your domain model:

private string GetMetaDictionaryAssociations(Telerik.OpenAccess.Metadata.MetadataContainer container)
   StringBuilder sb = new StringBuilder();
   foreach (MetaAssociation metaAssociation in container.Associations)
       sb.AppendFormat("\nType: {0}", metaAssociation.AssociationType);
       MetaDictionaryAssociation dictionary = metaAssociation as MetaDictionaryAssociation;
       if (dictionary == null)
       sb.AppendFormat("\n\tSource: {0}", dictionary.Source.Name);
       sb.AppendFormat("\n\tTarget: {0}", dictionary.Target.Name);
   return sb.ToString();
Private Function GetMetaDictionaryAssociations(ByVal container As  _
    Telerik.OpenAccess.Metadata.MetadataContainer) As String
 Dim sb As New StringBuilder()
 For Each _metaAssociation As MetaAssociation In container.Associations
  sb.AppendFormat(vbLf & "Type: {0}", _metaAssociation.AssociationType)
  Dim dictionary As MetaDictionaryAssociation = TryCast(_metaAssociation,  _
  If dictionary Is Nothing Then
   Continue For
  End If
  sb.AppendFormat(vbLf & vbTab & "Source: {0}", dictionary.Source.Name)
  sb.AppendFormat(vbLf & vbTab & "Target: {0}", dictionary.Target.Name)
 Next _metaAssociation
 Return sb.ToString()
End Function