From bb420fd978057f37c849b1c39673cf91739898cb Mon Sep 17 00:00:00 2001 From: jboinembalome Date: Tue, 8 Dec 2020 17:54:15 +0100 Subject: [PATCH] =?UTF-8?q?MAJ=20du=20jeu=20de=20donn=C3=A9es=20dans=20la?= =?UTF-8?q?=20classe=20DataSeeder?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- EPAServeur/Context/DataSeeder.cs | 251 +++++++++++++++---------------- 1 file changed, 119 insertions(+), 132 deletions(-) diff --git a/EPAServeur/Context/DataSeeder.cs b/EPAServeur/Context/DataSeeder.cs index 327e0c4..19165a2 100644 --- a/EPAServeur/Context/DataSeeder.cs +++ b/EPAServeur/Context/DataSeeder.cs @@ -2,6 +2,7 @@ using EPAServeur.Models.Formation; using EPAServeur.Models.Notes; using EPAServeur.Models.SaisieChamp; +using IO.Swagger.Enum; using System; using System.Collections.Generic; @@ -34,24 +35,24 @@ namespace EPAServeur.Context /// Insère des thèmes qui pourront être ajoutés et conservés /// /// - public static void AddThemes(EpContext epContext) - { - Theme management, securite, developpement, gestionprojet; + //public static void AddThemes(EpContext epContext) + //{ + // Theme management, securite, developpement, gestionprojet; - management = new Theme { Libelle = "Management" }; - epContext.Theme.Add(management); + // management = new Theme { Libelle = "Management" }; + // epContext.Theme.Add(management); - securite = new Theme { Libelle = "Sécurité" }; - epContext.Theme.Add(securite); + // securite = new Theme { Libelle = "Sécurité" }; + // epContext.Theme.Add(securite); - developpement = new Theme { Libelle = "Développement" }; - epContext.Theme.Add(developpement); + // developpement = new Theme { Libelle = "Développement" }; + // epContext.Theme.Add(developpement); - gestionprojet = new Theme { Libelle = "Gestion de projet" }; - epContext.Theme.Add(gestionprojet); + // gestionprojet = new Theme { Libelle = "Gestion de projet" }; + // epContext.Theme.Add(gestionprojet); - epContext.SaveChanges(); - } + // epContext.SaveChanges(); + //} /// /// Insère un jeu de données fictif pour les types d'entretien @@ -102,15 +103,14 @@ namespace EPAServeur.Context { IdCollaborateur = Guid.Parse("1ec99fde-f756-11ea-adc1-0242ac120002"), IdReferent = Guid.Parse("1ec9a204-f756-11ea-adc1-0242ac120002"), - IdAgence = 1, IdBu = 2, Fonction = "Dev", - TypeEP = TypeChamp.EPA, + TypeEP = TypeEp.EPA, NumeroEp = 1, DateCreation = new DateTime(2017, 7, 7), DatePrevisionnelle = new DateTime(2018, 7, 8), Obligatoire = false, - Statut = StatutEP.Signe, + Statut = StatutEp.Signe, CV = "CV.pdf", DateSaisie = new DateTime(2018, 6, 20) }; @@ -128,15 +128,14 @@ namespace EPAServeur.Context { IdCollaborateur = Guid.Parse("779bf1cf-4d38-48fb-8550-3d583384523b"), IdReferent = Guid.Parse("ecf528c3-e509-402f-87bb-c8821467e350"), - IdAgence = 1, IdBu = 2, Fonction = "Dev", - TypeEP = TypeChamp.EPA, + TypeEP = TypeEp.EPA, NumeroEp = 1, DateCreation = new DateTime(2017, 7, 7), DatePrevisionnelle = new DateTime(2018, 7, 8), Obligatoire = false, - Statut = StatutEP.Signe, + Statut = StatutEp.Signe, CV = "CV.pdf", DateSaisie = new DateTime(2018, 6, 20) }; @@ -146,15 +145,14 @@ namespace EPAServeur.Context { IdCollaborateur = Guid.Parse("006226f6-51b2-4a02-a302-7447f7fccc04"), IdReferent = Guid.Parse("ecf528c3-e509-402f-87bb-c8821467e350"), - IdAgence = 1, IdBu = 2, Fonction = "Dev", - TypeEP = TypeChamp.EPA, + TypeEP = TypeEp.EPA, NumeroEp = 1, DateCreation = new DateTime(2017, 7, 7), DatePrevisionnelle = new DateTime(2018, 7, 8), Obligatoire = false, - Statut = StatutEP.Signe, + Statut = StatutEp.Signe, CV = "CV.pdf", DateSaisie = new DateTime(2018, 6, 20) }; @@ -164,15 +162,14 @@ namespace EPAServeur.Context { IdCollaborateur = Guid.Parse("f960f851-16b6-4631-952e-d05f38d8d80f"), IdReferent = Guid.Parse("6aa62dcb-f7c9-4c0c-af40-e934a4d6a7eb"), - IdAgence = 1, IdBu = 2, Fonction = "Dev", - TypeEP = TypeChamp.EPA, + TypeEP = TypeEp.EPA, NumeroEp = 1, DateCreation = new DateTime(2017, 7, 7), DatePrevisionnelle = new DateTime(2018, 7, 8), Obligatoire = false, - Statut = StatutEP.Signe, + Statut = StatutEp.Signe, CV = "CV.pdf", DateSaisie = new DateTime(2018, 6, 20) }; @@ -182,15 +179,14 @@ namespace EPAServeur.Context { IdCollaborateur = Guid.Parse("efb063b2-ce1e-4d19-8340-d4b0b022d0d0"), IdReferent = Guid.Parse("3fa56dc6-8597-4030-a0b2-1619b98c428d"), - IdAgence = 1, IdBu = 2, Fonction = "Dev", - TypeEP = TypeChamp.EPA, + TypeEP = TypeEp.EPA, NumeroEp = 1, DateCreation = new DateTime(2017, 7, 7), DatePrevisionnelle = new DateTime(2018, 7, 8), Obligatoire = false, - Statut = StatutEP.Signe, + Statut = StatutEp.Signe, CV = "CV.pdf", DateSaisie = new DateTime(2018, 6, 20) }; @@ -200,15 +196,14 @@ namespace EPAServeur.Context { IdCollaborateur = Guid.Parse("e5d36da4-df16-4d19-8a11-1ba2f6efc80c"), IdReferent = Guid.Parse("3fa56dc6-8597-4030-a0b2-1619b98c428d"), - IdAgence = 1, IdBu = 2, Fonction = "Dev", - TypeEP = TypeChamp.EPA, + TypeEP = TypeEp.EPA, NumeroEp = 1, DateCreation = new DateTime(2017, 7, 7), DatePrevisionnelle = new DateTime(2018, 7, 8), Obligatoire = false, - Statut = StatutEP.Signe, + Statut = StatutEp.Signe, CV = "CV.pdf", DateSaisie = new DateTime(2018, 6, 20) }; @@ -218,15 +213,14 @@ namespace EPAServeur.Context { IdCollaborateur = Guid.Parse("9e1ee839-4477-4d64-9b4d-80654c97c39f"), IdReferent = Guid.Parse("efb063b2-ce1e-4d19-8340-d4b0b022d0d0"), - IdAgence = 1, IdBu = 2, Fonction = "Dev", - TypeEP = TypeChamp.EPA, + TypeEP = TypeEp.EPA, NumeroEp = 1, DateCreation = new DateTime(2017, 7, 7), DatePrevisionnelle = new DateTime(2018, 7, 8), Obligatoire = false, - Statut = StatutEP.Signe, + Statut = StatutEp.Signe, CV = "CV.pdf", DateSaisie = new DateTime(2018, 6, 20) }; @@ -236,15 +230,14 @@ namespace EPAServeur.Context { IdCollaborateur = Guid.Parse("3f532f4c-a5c9-466c-b7c1-fdc6bc48780e"), IdReferent = Guid.Parse("efb063b2-ce1e-4d19-8340-d4b0b022d0d0"), - IdAgence = 1, IdBu = 2, Fonction = "Dev", - TypeEP = TypeChamp.EPA, + TypeEP = TypeEp.EPA, NumeroEp = 1, DateCreation = new DateTime(2017, 7, 7), DatePrevisionnelle = new DateTime(2018, 7, 8), Obligatoire = false, - Statut = StatutEP.Signe, + Statut = StatutEp.Signe, CV = "CV.pdf", DateSaisie = new DateTime(2018, 6, 20) }; @@ -265,15 +258,14 @@ namespace EPAServeur.Context { IdCollaborateur = Guid.Parse("59a8becb-bc0a-4d3d-adb1-8a8bd13c48c9"), IdReferent = Guid.Parse("e5d36da4-df16-4d19-8a11-1ba2f6efc80c"), - IdAgence = 1, IdBu = 2, Fonction = "Dev", - TypeEP = TypeChamp.EPA, + TypeEP = TypeEp.EPA, NumeroEp = 1, DateCreation = new DateTime(2017, 7, 7), DatePrevisionnelle = new DateTime(2018, 7, 8), Obligatoire = false, - Statut = StatutEP.Signe, + Statut = StatutEp.Signe, CV = "CV.pdf", DateSaisie = new DateTime(2018, 6, 20) }; @@ -283,15 +275,14 @@ namespace EPAServeur.Context { IdCollaborateur = Guid.Parse("a00eb610-d735-4a83-ac5a-7b89cbd4b42d"), IdReferent = Guid.Parse("d3f69a83-8a29-4971-8d3c-2d0cf320dad2"), - IdAgence = 1, IdBu = 2, Fonction = "Dev", - TypeEP = TypeChamp.EPA, + TypeEP = TypeEp.EPA, NumeroEp = 1, DateCreation = new DateTime(2017, 7, 7), DatePrevisionnelle = new DateTime(2018, 7, 8), Obligatoire = false, - Statut = StatutEP.Signe, + Statut = StatutEp.Signe, CV = "CV.pdf", DateSaisie = new DateTime(2018, 6, 20) }; @@ -301,15 +292,14 @@ namespace EPAServeur.Context { IdCollaborateur = Guid.Parse("a00eb610-d735-4a83-ac5a-7b89cbd4b42d"), IdReferent = Guid.Parse("d3f69a83-8a29-4971-8d3c-2d0cf320dad2"), - IdAgence = 1, IdBu = 2, Fonction = "Dev", - TypeEP = TypeChamp.EPA, + TypeEP = TypeEp.EPA, NumeroEp = 1, DateCreation = new DateTime(2018, 1, 7), DatePrevisionnelle = new DateTime(2018, 1, 6), Obligatoire = false, - Statut = StatutEP.Signe, + Statut = StatutEp.Signe, CV = "CV.pdf", DateSaisie = new DateTime(2018, 6, 20) }; @@ -323,8 +313,7 @@ namespace EPAServeur.Context Dispositif = "interne", Modalite = "Modalite", DateLimite = new DateTime(2017, 7, 7), - Realise = false, - Realisable = true, + EtatEngagement = EtatEngagement.EnAttente, RaisonNonRealisable = null, Ep = ep9 }; @@ -336,8 +325,7 @@ namespace EPAServeur.Context Dispositif = "externe", Modalite = "Modalite 2", DateLimite = new DateTime(2017, 7, 8), - Realise = true, - Realisable = true, + EtatEngagement = EtatEngagement.EnAttente, RaisonNonRealisable = null, Ep = ep10 }; @@ -349,8 +337,7 @@ namespace EPAServeur.Context Dispositif = "externe", Modalite = "Modalite 3", DateLimite = new DateTime(2017, 7, 8), - Realise = null, - Realisable = null, + EtatEngagement = EtatEngagement.EnAttente, RaisonNonRealisable = "Aucune formation disponible", Ep = ep11 }; @@ -368,80 +355,80 @@ namespace EPAServeur.Context //StatutFormation StatutFormation statutPlanifie, statutReplanifie, statutRealise, statutAnnule; - statutPlanifie = new StatutFormation { Id = 1, Libelle = "Planifiée" }; + statutPlanifie = new StatutFormation { IdStatutFormation = 1, Libelle = "Planifiée" }; epContext.StatutFormation.Add(statutPlanifie); - statutReplanifie = new StatutFormation { Id = 2, Libelle = "Replanifié" }; + statutReplanifie = new StatutFormation { IdStatutFormation = 2, Libelle = "Replanifié" }; epContext.StatutFormation.Add(statutReplanifie); - statutRealise = new StatutFormation { Id = 3, Libelle = "Réalisée" }; + statutRealise = new StatutFormation { IdStatutFormation = 3, Libelle = "Réalisée" }; epContext.StatutFormation.Add(statutRealise); - statutAnnule = new StatutFormation { Id = 4, Libelle = "Annulée" }; + statutAnnule = new StatutFormation { IdStatutFormation = 4, Libelle = "Annulée" }; epContext.StatutFormation.Add(statutAnnule); //ModeFormation ModeFormation modeExterne, modeInterne, modePresentiel, modeELearning; - modeExterne = new ModeFormation { Id = 1, Libelle = "Externe" }; + modeExterne = new ModeFormation { IdModeFormation = 1, Libelle = "Externe" }; epContext.ModeFormation.Add(modeExterne); - modeInterne = new ModeFormation { Id = 2, Libelle = "Interne" }; + modeInterne = new ModeFormation { IdModeFormation = 2, Libelle = "Interne" }; epContext.ModeFormation.Add(modeInterne); - modePresentiel = new ModeFormation { Id = 3, Libelle = "Présentiel" }; + modePresentiel = new ModeFormation { IdModeFormation = 3, Libelle = "Présentiel" }; epContext.ModeFormation.Add(modePresentiel); - modeELearning = new ModeFormation { Id = 4, Libelle = "E-learning" }; + modeELearning = new ModeFormation { IdModeFormation = 4, Libelle = "E-learning" }; epContext.ModeFormation.Add(modeELearning); //TypeFormation TypeFormation typeExterne, typeInterne, typeELearning, typeAcademy; - typeExterne = new TypeFormation { Id = 1, Libelle = "Externe" }; + typeExterne = new TypeFormation { IdTypeFormation = 1, Libelle = "Externe" }; epContext.TypeFormation.Add(typeExterne); - typeInterne = new TypeFormation { Id = 2, Libelle = "Interne" }; + typeInterne = new TypeFormation { IdTypeFormation = 2, Libelle = "Interne" }; epContext.TypeFormation.Add(typeInterne); - typeELearning = new TypeFormation { Id = 3, Libelle = "E-learning" }; + typeELearning = new TypeFormation { IdTypeFormation = 3, Libelle = "E-learning" }; epContext.TypeFormation.Add(typeELearning); - typeAcademy = new TypeFormation { Id = 4, Libelle = "Academy by Apside" }; + typeAcademy = new TypeFormation { IdTypeFormation = 4, Libelle = "Academy by Apside" }; epContext.TypeFormation.Add(typeAcademy); //OrigineFormation OrigineFormation origineFormationCollaborateur, origineFormationClient, origineFormationApside, origineFormationReglementaire; - origineFormationCollaborateur = new OrigineFormation { Id = 1, Libelle = "Demande collaborateur" }; + origineFormationCollaborateur = new OrigineFormation { IdOrigineFormation = 1, Libelle = "Demande collaborateur" }; epContext.OrigineFormation.Add(origineFormationCollaborateur); - origineFormationClient = new OrigineFormation { Id = 2, Libelle = "Exigence client" }; + origineFormationClient = new OrigineFormation { IdOrigineFormation = 2, Libelle = "Exigence client" }; epContext.OrigineFormation.Add(origineFormationClient); - origineFormationApside = new OrigineFormation { Id = 3, Libelle = "Exigence Apside" }; + origineFormationApside = new OrigineFormation { IdOrigineFormation = 3, Libelle = "Exigence Apside" }; epContext.OrigineFormation.Add(origineFormationApside); - origineFormationReglementaire = new OrigineFormation { Id = 4, Libelle = "Formation réglementaire" }; + origineFormationReglementaire = new OrigineFormation { IdOrigineFormation = 4, Libelle = "Formation réglementaire" }; epContext.OrigineFormation.Add(origineFormationReglementaire); //OrigineDemandeFormation - OrigineDemandeFormation origineDemandeFormationCollaborateur, origineDemandeFormationEP, + OrigineDemande origineDemandeFormationCollaborateur, origineDemandeFormationEP, origineDemandeFormationClient, origineDemandeFormationReglement, origineDemandeFormationApside; - origineDemandeFormationCollaborateur = new OrigineDemandeFormation { Id = 1, Libelle = "Demande collaborateur" }; + origineDemandeFormationCollaborateur = new OrigineDemande { IdOrigineDemande = 1, Libelle = "Demande collaborateur" }; epContext.OrigineDemandeFormation.Add(origineDemandeFormationCollaborateur); - origineDemandeFormationEP = new OrigineDemandeFormation { Id = 2, Libelle = "Demande EP" }; + origineDemandeFormationEP = new OrigineDemande { IdOrigineDemande = 2, Libelle = "Demande EP" }; epContext.OrigineDemandeFormation.Add(origineDemandeFormationEP); - origineDemandeFormationClient = new OrigineDemandeFormation { Id = 3, Libelle = "Exigence Client" }; + origineDemandeFormationClient = new OrigineDemande { IdOrigineDemande = 3, Libelle = "Exigence Client" }; epContext.OrigineDemandeFormation.Add(origineDemandeFormationClient); - origineDemandeFormationReglement = new OrigineDemandeFormation { Id = 4, Libelle = "Formation réglementaire" }; + origineDemandeFormationReglement = new OrigineDemande { IdOrigineDemande = 4, Libelle = "Formation réglementaire" }; epContext.OrigineDemandeFormation.Add(origineDemandeFormationReglement); - origineDemandeFormationApside = new OrigineDemandeFormation { Id = 5, Libelle = "Demande Apside" }; + origineDemandeFormationApside = new OrigineDemande { IdOrigineDemande = 5, Libelle = "Demande Apside" }; epContext.OrigineDemandeFormation.Add(origineDemandeFormationApside); //Formation @@ -457,7 +444,7 @@ namespace EPAServeur.Context f1 = new Formation { Intitule = "Formation1", - IdAgence = 1, + DateDebut = new DateTime(2020, 9, 16, 10, 0, 0), DateFin = new DateTime(2020, 9, 16), Heure = 2, @@ -474,7 +461,7 @@ namespace EPAServeur.Context f2 = new Formation { Intitule = "Formation2", - IdAgence = 1, + DateDebut = new DateTime(2020, 10, 5, 14, 0, 0), DateFin = new DateTime(2020, 10, 9), Heure = 10, @@ -491,7 +478,7 @@ namespace EPAServeur.Context f3 = new Formation { Intitule = "Formation3", - IdAgence = 1, + DateDebut = new DateTime(2020, 9, 21, 14, 0, 0), DateFin = new DateTime(2020, 9, 21), Heure = 4, @@ -508,7 +495,7 @@ namespace EPAServeur.Context f4 = new Formation { Intitule = "Formation4", - IdAgence = 1, + DateDebut = new DateTime(2020, 05, 11, 14, 0, 0), DateFin = new DateTime(2020, 05, 11), Heure = 3, @@ -525,7 +512,7 @@ namespace EPAServeur.Context f5 = new Formation { Intitule = "Formation5", - IdAgence = 1, + DateDebut = new DateTime(2020, 08, 1, 13, 0, 0), DateFin = new DateTime(2020, 08, 3), Heure = 6, @@ -542,7 +529,7 @@ namespace EPAServeur.Context f6 = new Formation { Intitule = "Formation6", - IdAgence = 1, + DateDebut = new DateTime(2020, 9, 30, 9, 0, 0), DateFin = new DateTime(2020, 10, 1), Heure = 4, @@ -559,7 +546,7 @@ namespace EPAServeur.Context f7 = new Formation { Intitule = "Formation7", - IdAgence = 1, + DateDebut = new DateTime(2020, 10, 5, 10, 0, 0), DateFin = new DateTime(2020, 10, 8), Heure = 6, @@ -576,7 +563,7 @@ namespace EPAServeur.Context f8 = new Formation { Intitule = "Formation2", - IdAgence = 1, + DateDebut = new DateTime(2020, 11, 18, 10, 0, 0), DateFin = new DateTime(2020, 11, 20), Heure = 6, @@ -593,7 +580,7 @@ namespace EPAServeur.Context f9 = new Formation { Intitule = "Formation9", - IdAgence = 1, + DateDebut = new DateTime(2020, 11, 15, 9, 0, 0), DateFin = new DateTime(2020, 11, 15), Heure = 3, @@ -610,7 +597,7 @@ namespace EPAServeur.Context f10 = new Formation { Intitule = "Formation10", - IdAgence = 1, + DateDebut = new DateTime(2020, 8, 3, 14, 0, 0), DateFin = new DateTime(2020, 8, 3), Heure = 2, @@ -627,7 +614,7 @@ namespace EPAServeur.Context f11 = new Formation { Intitule = "Formation11", - IdAgence = 1, + DateDebut = new DateTime(2020, 04, 6, 9, 0, 0), DateFin = new DateTime(2020, 04, 11), Heure = 15, @@ -670,151 +657,151 @@ namespace EPAServeur.Context Champ c; //CHAMPS EPS - c = new Champ { Section = "Mission/Projet", Ordre = 0, Texte = "Impressions générales", TypeChamp = TypeChamp.EPS, TypeSaisie = TypeSaisie.Commentaire }; + c = new Champ { Section = "Mission/Projet", Ordre = 0, Texte = "Impressions générales", TypeChamp = TypeChamps.EPS, TypeSaisie = TypeSaisie.Commentaire }; epContext.Champ.Add(c); - c = new Champ { Section = "Mission/Projet", Ordre = 1, Texte = "Faits marquants", TypeChamp = TypeChamp.EPS, TypeSaisie = TypeSaisie.Commentaire }; + c = new Champ { Section = "Mission/Projet", Ordre = 1, Texte = "Faits marquants", TypeChamp = TypeChamps.EPS, TypeSaisie = TypeSaisie.Commentaire }; epContext.Champ.Add(c); - c = new Champ { Section = "Mission/Projet", Ordre = 2, Texte = "Succès", TypeChamp = TypeChamp.EPS }; + c = new Champ { Section = "Mission/Projet", Ordre = 2, Texte = "Succès", TypeChamp = TypeChamps.EPS }; epContext.Champ.Add(c); - c = new Champ { Section = "Mission/Projet", Ordre = 3, Texte = "Retours Client/Chef de projet", TypeChamp = TypeChamp.EPS, TypeSaisie = TypeSaisie.Commentaire }; + c = new Champ { Section = "Mission/Projet", Ordre = 3, Texte = "Retours Client/Chef de projet", TypeChamp = TypeChamps.EPS, TypeSaisie = TypeSaisie.Commentaire }; epContext.Champ.Add(c); - c = new Champ { Section = "Mission/Projet", Ordre = 4, Texte = "Difficultés", TypeChamp = TypeChamp.EPS, TypeSaisie = TypeSaisie.Notation }; + c = new Champ { Section = "Mission/Projet", Ordre = 4, Texte = "Difficultés", TypeChamp = TypeChamps.EPS, TypeSaisie = TypeSaisie.Notation }; epContext.Champ.Add(c); - c = new Champ { Section = "Mission/Projet", Ordre = 5, Texte = "Relation Client/Chef de projet", TypeChamp = TypeChamp.EPS, TypeSaisie = TypeSaisie.Notation }; + c = new Champ { Section = "Mission/Projet", Ordre = 5, Texte = "Relation Client/Chef de projet", TypeChamp = TypeChamps.EPS, TypeSaisie = TypeSaisie.Notation }; epContext.Champ.Add(c); - c = new Champ { Section = "Mission/Projet", Ordre = 6, Texte = "Ambiance de travail", TypeChamp = TypeChamp.EPS, TypeSaisie = TypeSaisie.Notation }; + c = new Champ { Section = "Mission/Projet", Ordre = 6, Texte = "Ambiance de travail", TypeChamp = TypeChamps.EPS, TypeSaisie = TypeSaisie.Notation }; epContext.Champ.Add(c); - c = new Champ { Section = "Mission/Projet", Ordre = 7, Texte = "Intérêt technique", TypeChamp = TypeChamp.EPS, TypeSaisie = TypeSaisie.Notation }; + c = new Champ { Section = "Mission/Projet", Ordre = 7, Texte = "Intérêt technique", TypeChamp = TypeChamps.EPS, TypeSaisie = TypeSaisie.Notation }; epContext.Champ.Add(c); - c = new Champ { Section = "Mission/Projet", Ordre = 8, Texte = "Site géographique", TypeChamp = TypeChamp.EPS, TypeSaisie = TypeSaisie.Notation }; + c = new Champ { Section = "Mission/Projet", Ordre = 8, Texte = "Site géographique", TypeChamp = TypeChamps.EPS, TypeSaisie = TypeSaisie.Notation }; epContext.Champ.Add(c); - c = new Champ { Section = "Compétences", SousSection = "Compétences Générales", Ordre = 0, Texte = "Motivation", TypeChamp = TypeChamp.EPS, TypeSaisie = TypeSaisie.Competence }; + c = new Champ { Section = "Compétences", SousSection = "Compétences Générales", Ordre = 0, Texte = "Motivation", TypeChamp = TypeChamps.EPS, TypeSaisie = TypeSaisie.Competence }; epContext.Champ.Add(c); - c = new Champ { Section = "Compétences", SousSection = "Compétences Générales", Ordre = 1, Texte = "Adaptabilité", TypeChamp = TypeChamp.EPS, TypeSaisie = TypeSaisie.Competence }; + c = new Champ { Section = "Compétences", SousSection = "Compétences Générales", Ordre = 1, Texte = "Adaptabilité", TypeChamp = TypeChamps.EPS, TypeSaisie = TypeSaisie.Competence }; epContext.Champ.Add(c); - c = new Champ { Section = "Compétences", SousSection = "Compétences Générales", Ordre = 2, Texte = "Force de proposition", TypeChamp = TypeChamp.EPS, TypeSaisie = TypeSaisie.Competence }; + c = new Champ { Section = "Compétences", SousSection = "Compétences Générales", Ordre = 2, Texte = "Force de proposition", TypeChamp = TypeChamps.EPS, TypeSaisie = TypeSaisie.Competence }; epContext.Champ.Add(c); - c = new Champ { Section = "Compétences", SousSection = "Compétences Générales", Ordre = 3, Texte = "Leadership", TypeChamp = TypeChamp.EPS, TypeSaisie = TypeSaisie.Competence }; + c = new Champ { Section = "Compétences", SousSection = "Compétences Générales", Ordre = 3, Texte = "Leadership", TypeChamp = TypeChamps.EPS, TypeSaisie = TypeSaisie.Competence }; epContext.Champ.Add(c); - c = new Champ { Section = "Compétences", SousSection = "Compétences Générales", Ordre = 4, Texte = "Ecoute", TypeChamp = TypeChamp.EPS, TypeSaisie = TypeSaisie.Competence }; + c = new Champ { Section = "Compétences", SousSection = "Compétences Générales", Ordre = 4, Texte = "Ecoute", TypeChamp = TypeChamps.EPS, TypeSaisie = TypeSaisie.Competence }; epContext.Champ.Add(c); - c = new Champ { Section = "Compétences", SousSection = "Compétences Générales", Ordre = 5, Texte = "Prise de recul", TypeChamp = TypeChamp.EPS, TypeSaisie = TypeSaisie.Competence }; + c = new Champ { Section = "Compétences", SousSection = "Compétences Générales", Ordre = 5, Texte = "Prise de recul", TypeChamp = TypeChamps.EPS, TypeSaisie = TypeSaisie.Competence }; epContext.Champ.Add(c); - c = new Champ { Section = "Compétences", SousSection = "Compétences Générales", Ordre = 6, Texte = "Sens du service", TypeChamp = TypeChamp.EPS, TypeSaisie = TypeSaisie.Competence }; + c = new Champ { Section = "Compétences", SousSection = "Compétences Générales", Ordre = 6, Texte = "Sens du service", TypeChamp = TypeChamps.EPS, TypeSaisie = TypeSaisie.Competence }; epContext.Champ.Add(c); - c = new Champ { Section = "Compétences", SousSection = "Compétences Générales", Ordre = 7, Texte = "Communication", TypeChamp = TypeChamp.EPS, TypeSaisie = TypeSaisie.Competence }; + c = new Champ { Section = "Compétences", SousSection = "Compétences Générales", Ordre = 7, Texte = "Communication", TypeChamp = TypeChamps.EPS, TypeSaisie = TypeSaisie.Competence }; epContext.Champ.Add(c); - c = new Champ { Section = "Compétences", SousSection = "Compétences Générales", Ordre = 8, Texte = "Rigueur", TypeChamp = TypeChamp.EPS, TypeSaisie = TypeSaisie.Competence }; + c = new Champ { Section = "Compétences", SousSection = "Compétences Générales", Ordre = 8, Texte = "Rigueur", TypeChamp = TypeChamps.EPS, TypeSaisie = TypeSaisie.Competence }; epContext.Champ.Add(c); - c = new Champ { Section = "Compétences", SousSection = "Compétences Générales", Ordre = 9, Texte = "Organisation", TypeChamp = TypeChamp.EPS, TypeSaisie = TypeSaisie.Competence }; + c = new Champ { Section = "Compétences", SousSection = "Compétences Générales", Ordre = 9, Texte = "Organisation", TypeChamp = TypeChamps.EPS, TypeSaisie = TypeSaisie.Competence }; epContext.Champ.Add(c); - c = new Champ { Section = "Compétences", SousSection = "Compétences Techniques", Ordre = 0, Texte = "Nouvelle compétence", TypeChamp = TypeChamp.EPS, TypeSaisie = TypeSaisie.Competence }; + c = new Champ { Section = "Compétences", SousSection = "Compétences Techniques", Ordre = 0, Texte = "Nouvelle compétence", TypeChamp = TypeChamps.EPS, TypeSaisie = TypeSaisie.Competence }; epContext.Champ.Add(c); - c = new Champ { Section = "Apside", Ordre = 0, Texte = "Relation avec la structure", TypeChamp = TypeChamp.EPS, TypeSaisie = TypeSaisie.Notation }; + c = new Champ { Section = "Apside", Ordre = 0, Texte = "Relation avec la structure", TypeChamp = TypeChamps.EPS, TypeSaisie = TypeSaisie.Notation }; epContext.Champ.Add(c); - c = new Champ { Section = "Apside", Ordre = 1, Texte = "Sentiment d'écoute", TypeChamp = TypeChamp.EPS, TypeSaisie = TypeSaisie.Notation }; + c = new Champ { Section = "Apside", Ordre = 1, Texte = "Sentiment d'écoute", TypeChamp = TypeChamps.EPS, TypeSaisie = TypeSaisie.Notation }; epContext.Champ.Add(c); - c = new Champ { Section = "Apside", Ordre = 2, Texte = "Perception de la stratégie de développement", TypeChamp = TypeChamp.EPS, TypeSaisie = TypeSaisie.Notation }; + c = new Champ { Section = "Apside", Ordre = 2, Texte = "Perception de la stratégie de développement", TypeChamp = TypeChamps.EPS, TypeSaisie = TypeSaisie.Notation }; epContext.Champ.Add(c); - c = new Champ { Section = "Apside", Ordre = 3, Texte = "Esprit d'entreprise", TypeChamp = TypeChamp.EPS, TypeSaisie = TypeSaisie.Notation }; + c = new Champ { Section = "Apside", Ordre = 3, Texte = "Esprit d'entreprise", TypeChamp = TypeChamps.EPS, TypeSaisie = TypeSaisie.Notation }; epContext.Champ.Add(c); - c = new Champ { Section = "Apside", Ordre = 4, Texte = "Transparence de l'information", TypeChamp = TypeChamp.EPS, TypeSaisie = TypeSaisie.Notation }; + c = new Champ { Section = "Apside", Ordre = 4, Texte = "Transparence de l'information", TypeChamp = TypeChamps.EPS, TypeSaisie = TypeSaisie.Notation }; epContext.Champ.Add(c); - c = new Champ { Section = "Apside", Ordre = 5, Texte = "Politique de formation", TypeChamp = TypeChamp.EPS, TypeSaisie = TypeSaisie.Notation }; + c = new Champ { Section = "Apside", Ordre = 5, Texte = "Politique de formation", TypeChamp = TypeChamps.EPS, TypeSaisie = TypeSaisie.Notation }; epContext.Champ.Add(c); - c = new Champ { Section = "Apside", Ordre = 6, Texte = "Satisfaction Apside", TypeChamp = TypeChamp.EPS, TypeSaisie = TypeSaisie.Notation }; + c = new Champ { Section = "Apside", Ordre = 6, Texte = "Satisfaction Apside", TypeChamp = TypeChamps.EPS, TypeSaisie = TypeSaisie.Notation }; epContext.Champ.Add(c); //CHAMPS EPA - c = new Champ { Section = "Formation", Ordre = 0, Texte = "Formations effectuées", TypeChamp = TypeChamp.EPA, TypeSaisie = TypeSaisie.Aucun }; + c = new Champ { Section = "Formation", Ordre = 0, Texte = "Formations effectuées", TypeChamp = TypeChamps.EPA, TypeSaisie = TypeSaisie.Aucun }; epContext.Champ.Add(c); - c = new Champ { Section = "Evolution Professionnelle et Salarial", Ordre = 0, Texte = "Evolution de l'emploie", TypeChamp = TypeChamp.EPA, TypeSaisie = TypeSaisie.Aucun }; + c = new Champ { Section = "Evolution Professionnelle et Salarial", Ordre = 0, Texte = "Evolution de l'emploie", TypeChamp = TypeChamps.EPA, TypeSaisie = TypeSaisie.Aucun }; epContext.Champ.Add(c); - c = new Champ { Section = "Projet professionnel/Souhait d’évolution ", Ordre = 0, Texte = "A court terme", TypeChamp = TypeChamp.EPA, TypeSaisie = TypeSaisie.Commentaire }; + c = new Champ { Section = "Projet professionnel/Souhait d’évolution ", Ordre = 0, Texte = "A court terme", TypeChamp = TypeChamps.EPA, TypeSaisie = TypeSaisie.Commentaire }; epContext.Champ.Add(c); - c = new Champ { Section = "Projet professionnel/Souhait d’évolution ", Ordre = 1, Texte = "A long terme", TypeChamp = TypeChamp.EPA, TypeSaisie = TypeSaisie.Commentaire }; + c = new Champ { Section = "Projet professionnel/Souhait d’évolution ", Ordre = 1, Texte = "A long terme", TypeChamp = TypeChamps.EPA, TypeSaisie = TypeSaisie.Commentaire }; epContext.Champ.Add(c); - c = new Champ { Section = "Projet professionnel/Souhait d’évolution ", Ordre = 2, Texte = "Atouts/Freins pour ce projet", TypeChamp = TypeChamp.EPA, TypeSaisie = TypeSaisie.Commentaire }; + c = new Champ { Section = "Projet professionnel/Souhait d’évolution ", Ordre = 2, Texte = "Atouts/Freins pour ce projet", TypeChamp = TypeChamps.EPA, TypeSaisie = TypeSaisie.Commentaire }; epContext.Champ.Add(c); - c = new Champ { Section = "Projet professionnel/Souhait d’évolution ", Ordre = 3, Texte = "Commentaire référent", TypeChamp = TypeChamp.EPA, TypeSaisie = TypeSaisie.Commentaire }; + c = new Champ { Section = "Projet professionnel/Souhait d’évolution ", Ordre = 3, Texte = "Commentaire référent", TypeChamp = TypeChamps.EPA, TypeSaisie = TypeSaisie.Commentaire }; epContext.Champ.Add(c); //CHAMPS EPASIX - c = new Champ { Section = "Evolution", Ordre = 1, Texte = "Evolution du salaire", TypeChamp = TypeChamp.EPASIXANS, TypeSaisie = TypeSaisie.Aucun }; + c = new Champ { Section = "Evolution", Ordre = 1, Texte = "Evolution du salaire", TypeChamp = TypeChamps.EPASIXANS, TypeSaisie = TypeSaisie.Aucun }; epContext.Champ.Add(c); - /*c = new Champ { Section = "", SousSection = "", Ordre = 0, Texte = "", TypeChamp = TypeChamp.EPASIXANS }; + /*c = new Champ { Section = "", SousSection = "", Ordre = 0, Texte = "", TypeChamp = TypeChamps.EPASIXANS }; this.Champ.Add(c); - c = new Champ { Section = "", SousSection = "", Ordre = 0, Texte = "", TypeChamp = TypeChamp.EPASIXANS }; + c = new Champ { Section = "", SousSection = "", Ordre = 0, Texte = "", TypeChamp = TypeChamps.EPASIXANS }; this.Champ.Add(c); - c = new Champ { Section = "", SousSection = "", Ordre = 0, Texte = "", TypeChamp = TypeChamp.EPASIXANS }; + c = new Champ { Section = "", SousSection = "", Ordre = 0, Texte = "", TypeChamp = TypeChamps.EPASIXANS }; this.Champ.Add(c);*/ //CHAMPS EVALUATION - c = new Champ { Section = "Evaluation", Ordre = 0, Texte = "Accueil et organisation", TypeChamp = TypeChamp.Evaluation, TypeSaisie = TypeSaisie.Notation }; + c = new Champ { Section = "Evaluation", Ordre = 0, Texte = "Accueil et organisation", TypeChamp = TypeChamps.Evaluation, TypeSaisie = TypeSaisie.Notation }; epContext.Champ.Add(c); - c = new Champ { Section = "Evaluation", Ordre = 1, Texte = "Compétences animateur", TypeChamp = TypeChamp.Evaluation, TypeSaisie = TypeSaisie.Notation }; + c = new Champ { Section = "Evaluation", Ordre = 1, Texte = "Compétences animateur", TypeChamp = TypeChamps.Evaluation, TypeSaisie = TypeSaisie.Notation }; epContext.Champ.Add(c); - c = new Champ { Section = "Evaluation", Ordre = 2, Texte = "Pédagogie/Animation", TypeChamp = TypeChamp.Evaluation, TypeSaisie = TypeSaisie.Notation }; + c = new Champ { Section = "Evaluation", Ordre = 2, Texte = "Pédagogie/Animation", TypeChamp = TypeChamps.Evaluation, TypeSaisie = TypeSaisie.Notation }; epContext.Champ.Add(c); - c = new Champ { Section = "Evaluation", Ordre = 3, Texte = "Exhaustivité des sujets traités", TypeChamp = TypeChamp.Evaluation, TypeSaisie = TypeSaisie.Notation }; + c = new Champ { Section = "Evaluation", Ordre = 3, Texte = "Exhaustivité des sujets traités", TypeChamp = TypeChamps.Evaluation, TypeSaisie = TypeSaisie.Notation }; epContext.Champ.Add(c); - c = new Champ { Section = "Evaluation", Ordre = 4, Texte = "Utilité/Apport de la formation", TypeChamp = TypeChamp.Evaluation, TypeSaisie = TypeSaisie.Notation }; + c = new Champ { Section = "Evaluation", Ordre = 4, Texte = "Utilité/Apport de la formation", TypeChamp = TypeChamps.Evaluation, TypeSaisie = TypeSaisie.Notation }; epContext.Champ.Add(c); - c = new Champ { Section = "Evaluation", Ordre = 5, Texte = "Contenu théorique", TypeChamp = TypeChamp.Evaluation, TypeSaisie = TypeSaisie.Notation }; + c = new Champ { Section = "Evaluation", Ordre = 5, Texte = "Contenu théorique", TypeChamp = TypeChamps.Evaluation, TypeSaisie = TypeSaisie.Notation }; epContext.Champ.Add(c); - c = new Champ { Section = "Evaluation", Ordre = 6, Texte = "Contenu pratique", TypeChamp = TypeChamp.Evaluation, TypeSaisie = TypeSaisie.Notation }; + c = new Champ { Section = "Evaluation", Ordre = 6, Texte = "Contenu pratique", TypeChamp = TypeChamps.Evaluation, TypeSaisie = TypeSaisie.Notation }; epContext.Champ.Add(c); - c = new Champ { Section = "Evaluation", Ordre = 7, Texte = "Equilibre pratique/théorie", TypeChamp = TypeChamp.Evaluation, TypeSaisie = TypeSaisie.Notation }; + c = new Champ { Section = "Evaluation", Ordre = 7, Texte = "Equilibre pratique/théorie", TypeChamp = TypeChamps.Evaluation, TypeSaisie = TypeSaisie.Notation }; epContext.Champ.Add(c); - c = new Champ { Section = "Evaluation", Ordre = 8, Texte = "Support de cours", TypeChamp = TypeChamp.Evaluation, TypeSaisie = TypeSaisie.Notation }; + c = new Champ { Section = "Evaluation", Ordre = 8, Texte = "Support de cours", TypeChamp = TypeChamps.Evaluation, TypeSaisie = TypeSaisie.Notation }; epContext.Champ.Add(c); - c = new Champ { Section = "Evaluation", Ordre = 9, Texte = "Durée", TypeChamp = TypeChamp.Evaluation, TypeSaisie = TypeSaisie.Notation }; + c = new Champ { Section = "Evaluation", Ordre = 9, Texte = "Durée", TypeChamp = TypeChamps.Evaluation, TypeSaisie = TypeSaisie.Notation }; epContext.Champ.Add(c);