This question is locked. New answers and comments are not allowed.
I have been unable to add an association to a *.rlinq domain model in the designer. There is no "association" control in the toolbox, and no right-click menu item in the designer.
I am trying to add an association between two entities based on database views each of which has an identity key and one of which also has a field that corresponds to a foreign key for mapping to the identity key of the other view. Is it possible to add an association with the latest release of the Open Access ORM? Or is this feature not implemented for views?
Addendum: After uninstalling and then re-installing Telerik OA ORM, and then discovering that the Association tool is under the "Class Diagrams" header, and that this tool is NOT a drag-and-drop control but rather a selector for which it is then necessary to click on the two tables for the association.... well I finally got associations to work for views.
Suggestions: How about labeling the section for the tools with something like "Telerik Open Access" instead of "Class Diagrams"?!? And how about enabling addition of an association in a more intuitive way directly from the designer surface or one of the tables for the association?!?
In general, I continue to struggle with Open Access ORM each time that I have tried it. This time around, I encountered the above problems, and I also find it rather difficult to change a namespace or a model name. For example, if I change the name of the Conceptual Model, the designer does NOT automatically change the domainContextContainer and so I have to do that manually in the XML editor view of the *.rlinq file. Finally, even though the Rlinq Domain Model compiles OK without errors, then when I try to run the Data Services Wizard to use the domain model, create a service and add it to a Silverlight app, the Data Services Wizard complains that the project does not have a valid DAL...
So at this point, I conclude that I probably should wait for major improvements in the next release before trying again....
I am trying to add an association between two entities based on database views each of which has an identity key and one of which also has a field that corresponds to a foreign key for mapping to the identity key of the other view. Is it possible to add an association with the latest release of the Open Access ORM? Or is this feature not implemented for views?
Addendum: After uninstalling and then re-installing Telerik OA ORM, and then discovering that the Association tool is under the "Class Diagrams" header, and that this tool is NOT a drag-and-drop control but rather a selector for which it is then necessary to click on the two tables for the association.... well I finally got associations to work for views.
Suggestions: How about labeling the section for the tools with something like "Telerik Open Access" instead of "Class Diagrams"?!? And how about enabling addition of an association in a more intuitive way directly from the designer surface or one of the tables for the association?!?
In general, I continue to struggle with Open Access ORM each time that I have tried it. This time around, I encountered the above problems, and I also find it rather difficult to change a namespace or a model name. For example, if I change the name of the Conceptual Model, the designer does NOT automatically change the domainContextContainer and so I have to do that manually in the XML editor view of the *.rlinq file. Finally, even though the Rlinq Domain Model compiles OK without errors, then when I try to run the Data Services Wizard to use the domain model, create a service and add it to a Silverlight app, the Data Services Wizard complains that the project does not have a valid DAL...
So at this point, I conclude that I probably should wait for major improvements in the next release before trying again....