Help please in generating the code.. i'd got an error

Help…

I can’t generate the code…
ERROR says: No primary key attribute found in class Order.

But i don’t need a primary key in that entity…

I have 2 entity

item_master_file

  • item_code(PK)
  • description
  • qty_stock

order_line

  • item_code(FK)
  • qty

How can i generate the code without setting a primary key in the order_line entity?
Thanks…

Hi jplans,

Thank you for your post. Unfortunately, it is a must to have PK in entity in order to generate database. Sorry about this.

Best regards,
Jick