|
|
|
@ -383,65 +383,65 @@ namespace EPAServeur.Context |
|
|
|
|
//ModeFormation |
|
|
|
|
ModeFormation modeExterne, modeInterne, modePresentiel, modeELearning; |
|
|
|
|
|
|
|
|
|
modeExterne = new ModeFormation { Libelle = "Externe" }; |
|
|
|
|
modeExterne = new ModeFormation { Id = 1, Libelle = "Externe" }; |
|
|
|
|
epContext.ModeFormation.Add(modeExterne); |
|
|
|
|
|
|
|
|
|
modeInterne = new ModeFormation { Libelle = "Interne" }; |
|
|
|
|
modeInterne = new ModeFormation { Id = 2, Libelle = "Interne" }; |
|
|
|
|
epContext.ModeFormation.Add(modeInterne); |
|
|
|
|
|
|
|
|
|
modePresentiel = new ModeFormation { Libelle = "Présentiel" }; |
|
|
|
|
modePresentiel = new ModeFormation { Id = 3, Libelle = "Présentiel" }; |
|
|
|
|
epContext.ModeFormation.Add(modePresentiel); |
|
|
|
|
|
|
|
|
|
modeELearning = new ModeFormation { Libelle = "E-learning" }; |
|
|
|
|
modeELearning = new ModeFormation { Id = 4, Libelle = "E-learning" }; |
|
|
|
|
epContext.ModeFormation.Add(modeELearning); |
|
|
|
|
|
|
|
|
|
//TypeFormation |
|
|
|
|
TypeFormation typeExterne, typeInterne, typeELearning, typeAcademy; |
|
|
|
|
|
|
|
|
|
typeExterne = new TypeFormation { Libelle = "Externe" }; |
|
|
|
|
typeExterne = new TypeFormation { Id = 1, Libelle = "Externe" }; |
|
|
|
|
epContext.TypeFormation.Add(typeExterne); |
|
|
|
|
|
|
|
|
|
typeInterne = new TypeFormation { Libelle = "Interne" }; |
|
|
|
|
typeInterne = new TypeFormation { Id = 2, Libelle = "Interne" }; |
|
|
|
|
epContext.TypeFormation.Add(typeInterne); |
|
|
|
|
|
|
|
|
|
typeELearning = new TypeFormation { Libelle = "E-learning" }; |
|
|
|
|
typeELearning = new TypeFormation { Id = 3, Libelle = "E-learning" }; |
|
|
|
|
epContext.TypeFormation.Add(typeELearning); |
|
|
|
|
|
|
|
|
|
typeAcademy = new TypeFormation { Libelle = "Academy by Apside" }; |
|
|
|
|
typeAcademy = new TypeFormation { Id = 4, Libelle = "Academy by Apside" }; |
|
|
|
|
epContext.TypeFormation.Add(typeAcademy); |
|
|
|
|
|
|
|
|
|
//OrigineFormation |
|
|
|
|
OrigineFormation origineFormationCollaborateur, origineFormationClient, origineFormationApside, origineFormationReglementaire; |
|
|
|
|
|
|
|
|
|
origineFormationCollaborateur = new OrigineFormation { Libelle = "Demande collaborateur" }; |
|
|
|
|
origineFormationCollaborateur = new OrigineFormation { Id = 1, Libelle = "Demande collaborateur" }; |
|
|
|
|
epContext.OrigineFormation.Add(origineFormationCollaborateur); |
|
|
|
|
|
|
|
|
|
origineFormationClient = new OrigineFormation { Libelle = "Exigence client" }; |
|
|
|
|
origineFormationClient = new OrigineFormation { Id = 2, Libelle = "Exigence client" }; |
|
|
|
|
epContext.OrigineFormation.Add(origineFormationClient); |
|
|
|
|
|
|
|
|
|
origineFormationApside = new OrigineFormation { Libelle = "Exigence Apside" }; |
|
|
|
|
origineFormationApside = new OrigineFormation { Id = 3, Libelle = "Exigence Apside" }; |
|
|
|
|
epContext.OrigineFormation.Add(origineFormationApside); |
|
|
|
|
|
|
|
|
|
origineFormationReglementaire = new OrigineFormation { Libelle = "Formation réglementaire" }; |
|
|
|
|
origineFormationReglementaire = new OrigineFormation { Id = 4, Libelle = "Formation réglementaire" }; |
|
|
|
|
epContext.OrigineFormation.Add(origineFormationReglementaire); |
|
|
|
|
|
|
|
|
|
//OrigineDemandeFormation |
|
|
|
|
OrigineDemandeFormation origineDemandeFormationCollaborateur, origineDemandeFormationEP, |
|
|
|
|
origineDemandeFormationClient, origineDemandeFormationReglement, origineDemandeFormationApside; |
|
|
|
|
|
|
|
|
|
origineDemandeFormationCollaborateur = new OrigineDemandeFormation { Libelle = "Demande collaborateur" }; |
|
|
|
|
origineDemandeFormationCollaborateur = new OrigineDemandeFormation { Id = 1, Libelle = "Demande collaborateur" }; |
|
|
|
|
epContext.OrigineDemandeFormation.Add(origineDemandeFormationCollaborateur); |
|
|
|
|
|
|
|
|
|
origineDemandeFormationEP = new OrigineDemandeFormation { Libelle = "Demande EP" }; |
|
|
|
|
origineDemandeFormationEP = new OrigineDemandeFormation { Id = 2, Libelle = "Demande EP" }; |
|
|
|
|
epContext.OrigineDemandeFormation.Add(origineDemandeFormationEP); |
|
|
|
|
|
|
|
|
|
origineDemandeFormationClient = new OrigineDemandeFormation { Libelle = "Exigence Client" }; |
|
|
|
|
origineDemandeFormationClient = new OrigineDemandeFormation { Id = 3, Libelle = "Exigence Client" }; |
|
|
|
|
epContext.OrigineDemandeFormation.Add(origineDemandeFormationClient); |
|
|
|
|
|
|
|
|
|
origineDemandeFormationReglement = new OrigineDemandeFormation { Libelle = "Formation réglementaire" }; |
|
|
|
|
origineDemandeFormationReglement = new OrigineDemandeFormation { Id = 4, Libelle = "Formation réglementaire" }; |
|
|
|
|
epContext.OrigineDemandeFormation.Add(origineDemandeFormationReglement); |
|
|
|
|
|
|
|
|
|
origineDemandeFormationApside = new OrigineDemandeFormation { Libelle = "Demande Apside" }; |
|
|
|
|
origineDemandeFormationApside = new OrigineDemandeFormation { Id = 5, Libelle = "Demande Apside" }; |
|
|
|
|
epContext.OrigineDemandeFormation.Add(origineDemandeFormationApside); |
|
|
|
|
|
|
|
|
|
//Formation |
|
|
|
|