|
|
|
@ -57,7 +57,7 @@ qui dérive de ```DbContext```. Mais il est possible de le faire de manière ex
|
|
|
|
|
en utilisant les *annotations de données* (cf. [ex_042_014 : One To Many with data annotations](../ex_042_014_OneToMany_dataAnnotations))
|
|
|
|
|
ou de manière implicite en utilisant les *conventions d'écriture*
|
|
|
|
|
(cf. [ex_042_015 : One To Many with conventions](../ex_042_016_OneToMany_conventions)).
|
|
|
|
|
Ici, on __N'__ajoute __PAS__ de nouvelle propriété à ```Morceau``` pour stocker
|
|
|
|
|
Ici, on __N'__ ajoute __PAS__ de nouvelle propriété à ```Morceau``` pour stocker
|
|
|
|
|
l'identifiant unique de ```Album``` comme dans l'exemple [ex_042_014 : One To Many with data annotations](../ex_042_014_OneToMany_dataAnnotations),
|
|
|
|
|
mais on pourrait le faire (cf. commentaires plus bas).
|
|
|
|
|
|
|
|
|
|