I use EF (Framework 3.5 SP1) and create a simple demonstration of two tables:
Candidates
- int id
- request-pref-lang-coorepondence int (FK to CodeLanguages)
- application-pref-lang-exam int (FK to CodeLanguages)
- request-pref-lang-interview int (FK for CodeLanguages)
CodeLanguages
- code-lang-id int
- code-lang-desc varchar
CodeLanguage Entries May Have 0, 1, * Applicants
In each language indicated in the application, 1 (and only one) must be indicated. Link to CodeLanguage.
:
- ( - WCF WPF), (coorespondence, exam interview) , 1000 (), , , 1001 (), 1001 ().
: (, coorespondence = , = = ), - , , , , - .
, , EDMX, EDMX - . - , EF, .
? .