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


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 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