Modelling class realtions
- by phenevo
Hi,
I have a few classes:
Article:
Content,
ID,
Magazine:
Name
Code,
And 3 tables in database:
Articles, Magazines and ArticlesinMagazines (two fields: IDArticle and CodeMagazine)
In App, I've got module to manage Articles, and datagridview to relate their with magazines
DataGridView has twofields: MagazineCode, IsPublished.
The same article can be in many magazines (1:n)
How would you implement on model ?
Article have to has a field : List ??
I concern because Magazine associates articles