|
|
|
@ -1136,10 +1136,10 @@ namespace EPAServeur.Context |
|
|
|
|
|
|
|
|
|
// Participation formation |
|
|
|
|
|
|
|
|
|
ParticipationFormation p1, p2, p3, p4; |
|
|
|
|
//ParticipationFormation p1, p2, p3, p4; |
|
|
|
|
ParticipationFormation p5, p6, p7, p8; |
|
|
|
|
ParticipationFormation p9, p10, p11, p12; |
|
|
|
|
|
|
|
|
|
//ParticipationFormation p9, p10, p11, p12; |
|
|
|
|
/* |
|
|
|
|
|
|
|
|
|
p1 = new ParticipationFormation |
|
|
|
|
{ |
|
|
|
@ -1184,13 +1184,12 @@ namespace EPAServeur.Context |
|
|
|
|
Formation = f3 |
|
|
|
|
}; |
|
|
|
|
epContext.ParticipationFormation.Add(p4); |
|
|
|
|
|
|
|
|
|
*/ |
|
|
|
|
p5 = new ParticipationFormation |
|
|
|
|
{ |
|
|
|
|
IdParticipationFormation = 5, |
|
|
|
|
DateCreation = new DateTime(2020, 5, 25, 9, 0, 0), |
|
|
|
|
EstEvaluee = false, |
|
|
|
|
IdDemandeFormation = d5.IdDemandeFormation, |
|
|
|
|
DemandeFormation = d5, |
|
|
|
|
Formation = f3 |
|
|
|
|
}; |
|
|
|
@ -1201,7 +1200,6 @@ namespace EPAServeur.Context |
|
|
|
|
IdParticipationFormation = 6, |
|
|
|
|
DateCreation = new DateTime(2020, 6, 25, 9, 0, 0), |
|
|
|
|
EstEvaluee = false, |
|
|
|
|
IdDemandeFormation = d6.IdDemandeFormation, |
|
|
|
|
DemandeFormation = d6, |
|
|
|
|
Formation = f4 |
|
|
|
|
}; |
|
|
|
@ -1212,7 +1210,6 @@ namespace EPAServeur.Context |
|
|
|
|
IdParticipationFormation = 7, |
|
|
|
|
DateCreation = new DateTime(2020, 7, 25, 9, 0, 0), |
|
|
|
|
EstEvaluee = false, |
|
|
|
|
IdDemandeFormation = d7.IdDemandeFormation, |
|
|
|
|
DemandeFormation = d7, |
|
|
|
|
Formation = f4 |
|
|
|
|
}; |
|
|
|
@ -1223,12 +1220,11 @@ namespace EPAServeur.Context |
|
|
|
|
IdParticipationFormation = 8, |
|
|
|
|
DateCreation = new DateTime(2020, 8, 25, 9, 0, 0), |
|
|
|
|
EstEvaluee = false, |
|
|
|
|
IdDemandeFormation = d8.IdDemandeFormation, |
|
|
|
|
DemandeFormation = d8, |
|
|
|
|
Formation = f5 |
|
|
|
|
}; |
|
|
|
|
epContext.ParticipationFormation.Add(p8); |
|
|
|
|
|
|
|
|
|
/* |
|
|
|
|
p9 = new ParticipationFormation |
|
|
|
|
{ |
|
|
|
|
IdParticipationFormation = 9, |
|
|
|
@ -1273,7 +1269,7 @@ namespace EPAServeur.Context |
|
|
|
|
}; |
|
|
|
|
epContext.ParticipationFormation.Add(p12); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
*/ |
|
|
|
|
epContext.SaveChanges(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|