     (mapping [:Name] :Name)
     (mapping [:CreationTime] :CreationTime)
     (mapping [:Validity] :Validity))
-  (add-relation :resource_fk_ManagerId))
+  (add-association :resource_fk_ManagerId))
 ;TODO ASSOC RESOURCE: SHARE (table "resourceshare" :resourceshare   (column "resourceId" :resourceId :pk :notnull) (column "shareId" :shareId :pk :notnull))
 
 (foreach [:service]

    (mapping [:Validity] :Validity)
    (mapping [:ProductName] :ProductName)
    (mapping [:ProductVersion] :ProductVersion))
  (add-relation [:managerId :Id]); ?????
  (add-relation :manager_fk_ServiceId))
;TODO ASSOC MANAGER: MANAGER   (column "managerId" :managerId :notnull) // IS IT NOT RELATION!?



    (mapping [:CreationTime] :CreationTime)
    (mapping [:Validity] :Validity)
    (mapping [:Description] :Description))
  (add-association :share_fk_ServiceId))
;TODO ASSOC SHARE: ENDPOINT (table "shareendpoint" :shareendpoint (column "shareId" :shareId :pk :notnull) (column "endpointId" :endpointId :pk :notnull))

(foreach [:admindomain]
  (add-instance :AdminDomain (mapping-pk [:Id] :ID)
    (mapping [:domain :Description] :Description))
  (add-association :adminDomain_fk_AdminDomainId))
;TODO ASSOC ADMINDOMAIN: ADMINDOMAIN   (column "adminDomainId" :adminDomainId)


