Exemplo n.º 1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="q"></param>
 /// <param name="entityName"></param>
 public void Fetch(QueryTranslator q, string entityName)
 {
     if (IsCollectionValued)
     {
         q.AddCollectionToFetch(CollectionRole, CollectionName, CollectionOwnerName, entityName);
     }
     else
     {
         q.AddEntityToFetch(entityName, oneToOneOwnerName, ownerAssociationType);
     }
 }