Page 1 of 1

after added association got No mapping specified for the following AssociationSet

Posted: Tue 27 Aug 2019 01:12
by urbanr
Hi,
I added association between 2 tables (no foreign keys) and getting this error about no mapping.
Added association on diagram looks fine (1 to *) but when I open edml file in notepad there is no mapping indeed.
Why new association was not added/saved?
thanks

Re: after added association got No mapping specified for the following AssociationSet

Posted: Tue 27 Aug 2019 19:06
by Shalex
Right-click on your association in Model Explorer > Create Storage and Mapping. Does this help?

With Model-First approach, be aware of the following option which allows applying default mapping in SSDL automatically: Model Settings > Synchronization > Mapping > "Enable automatic synchronization of storage part and mapping of the model with its conceptual part".

Re: after added association got No mapping specified for the following AssociationSet

Posted: Tue 27 Aug 2019 20:31
by urbanr
oh, that was so simple :) thanks that did help.
BTW it was db first approach.