When having one-to-many relation in your persistent model
there are to ways to create the database-schema. The default is by
creating a join-table, but if you want to avoid that you have to
disable it from the forward mapping wizard. Since the join table is
created because of the orderitems
field of the Order class, you need to expand the tree node for Order
in the forward mapping wizard and select orderitems
. The new content of the form contains a group box called "Relationship". It has a checkbox "Join Table"
within it and you need to uncheck it so that a join table for Order
would not be created or used.
I hope this will help you achieve the goals planned for your project.
the Telerik team
Check out Telerik Trainer
, the state of the art learning tool for Telerik products.