Skip to content

Feature/wa 06 update models#10

Open
lulacoco wants to merge 3 commits intodevelopfrom
feature/WA-06-update-models
Open

Feature/wa 06 update models#10
lulacoco wants to merge 3 commits intodevelopfrom
feature/WA-06-update-models

Conversation

@lulacoco
Copy link
Owner

No description provided.

Copy link
Collaborator

@eternalamenity eternalamenity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Daje Approve, ale trzeba sprawdzić czy nie powinnismy dodawac adnotacji ForeignKey. Trzeba przetestować to rozwiązanie, jeśli będzie działać to nie dodajemy. Trzeba to przetestować, najlepiej zrobić metodę która dodaje jeden wiersz w tabeli Appointment z jakimś wymyślonym DoctorPesel i PatientPesel -> jeżeli to przejdzie bez problemu to znaczy ze trzeba dodać adnotacje ForeignKey dla pól kluczy obcych, można według tego schematu http://www.entityframeworktutorial.net/code-first/foreignkey-dataannotations-attribute-in-code-first.aspx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants