posted 13 years ago
Hi all,
I have two entity classes : Customers and Users with primary keys customer_id and user_id. I need to set up a foreign key in Users named customer_id. What is the syntax of declaring a foreign key? And how to set up a relation One-to-Many between this tables?
Please.
I'll appreciate any help. Thnx in advance.
Sorry for my English, it is not my first language.