diff --git a/EPAServeur/Context/DataSeeder.cs b/EPAServeur/Context/DataSeeder.cs index b041022..4e9ddc0 100644 --- a/EPAServeur/Context/DataSeeder.cs +++ b/EPAServeur/Context/DataSeeder.cs @@ -443,6 +443,7 @@ namespace EPAServeur.Context f1 = new Formation { + IdFormation = 1, Intitule = "Formation Mainframe Complète", DateDebut = new DateTime(2020, 1, 25, 10, 0, 0), @@ -461,6 +462,7 @@ namespace EPAServeur.Context f2 = new Formation { + IdFormation = 2, Intitule = "Formation professionnelle React + Redux", DateDebut = new DateTime(2020, 2, 25, 14, 0, 0), @@ -479,6 +481,7 @@ namespace EPAServeur.Context f3 = new Formation { + IdFormation = 3, Intitule = "Apprendre C# et le développement de logiciels avec WPF", DateDebut = new DateTime(2020, 5, 25, 14, 0, 0), @@ -497,6 +500,7 @@ namespace EPAServeur.Context f4 = new Formation { + IdFormation = 4, Intitule = "Formation Visual Basic.Net - Initiation + Approfondissement", DateDebut = new DateTime(2020, 7, 25, 14, 0, 0), @@ -515,6 +519,7 @@ namespace EPAServeur.Context f5 = new Formation { + IdFormation = 5, Intitule = "Formation Conception, langage SQL : Les fondamentaux", DateDebut = new DateTime(2020, 8, 25, 14, 0, 0), @@ -533,6 +538,7 @@ namespace EPAServeur.Context f6 = new Formation { + IdFormation = 6, Intitule = "Formation Laravel 5.x, Développement WEB en PHP", DateDebut = new DateTime(2020, 9, 25, 14, 0, 0), @@ -551,6 +557,7 @@ namespace EPAServeur.Context f7 = new Formation { + IdFormation = 7, Intitule = "Formation d’initiation aux Méthodes Agiles – Scrum", DateDebut = new DateTime(2020, 11, 25, 14, 0, 0), @@ -569,6 +576,7 @@ namespace EPAServeur.Context f8 = new Formation { + IdFormation = 8, Intitule = "Formation Xamarin, Développer des applications mobiles en C# pour iOS et Android", DateDebut = new DateTime(2020, 12, 25, 14, 0, 0), DateFin = new DateTime(2020, 12, 27), @@ -586,6 +594,7 @@ namespace EPAServeur.Context f9 = new Formation { + IdFormation = 9, Intitule = "Formation Développer des Web Services en Java", DateDebut = new DateTime(2020, 11, 15, 9, 0, 0), DateFin = new DateTime(2020, 11, 15), @@ -603,6 +612,7 @@ namespace EPAServeur.Context f10 = new Formation { + IdFormation = 10, Intitule = "Architecture Microservices – Les fondamentaux", DateDebut = new DateTime(2020, 8, 3, 14, 0, 0), DateFin = new DateTime(2020, 8, 3), @@ -620,6 +630,7 @@ namespace EPAServeur.Context f11 = new Formation { + IdFormation = 11, Intitule = "Formation Clean Architecture .Net Core", DateDebut = new DateTime(2020, 04, 6, 9, 0, 0), DateFin = new DateTime(2020, 04, 11), @@ -647,6 +658,7 @@ namespace EPAServeur.Context ep12 = new Ep { + IdEP = 12, IdCollaborateur = Guid.Parse("842650db-a548-4472-a3af-4c5fff3c1ab8"), IdReferent = Guid.Parse("aa36f34c-9041-42f5-9db3-6536fe7f1696"), IdBu = 2, @@ -664,6 +676,7 @@ namespace EPAServeur.Context ep13 = new Ep { + IdEP = 13, IdCollaborateur = Guid.Parse("301ba7f3-095e-4912-8998-a7c942dc5f23"), IdReferent = Guid.Parse("ea027734-ff0f-4308-8879-133a09fb3c46"), IdBu = 2, @@ -681,6 +694,7 @@ namespace EPAServeur.Context ep14 = new Ep { + IdEP = 14, IdCollaborateur = Guid.Parse("a0f40e2a-cc03-4032-a627-5389e1281c64"), IdReferent = Guid.Parse("56e3d82d-4be4-4449-a1f7-b4004b6bd186"), IdBu = 2, @@ -699,6 +713,7 @@ namespace EPAServeur.Context ep15 = new Ep { + IdEP = 15, IdCollaborateur = Guid.Parse("4f3fcd23-a1e4-4c9e-afa2-d06ca9216491"), IdReferent = Guid.Parse("25d2b0ce-5c95-4ccc-98bb-63b06c4ee4ad"), IdBu = 2, @@ -715,6 +730,7 @@ namespace EPAServeur.Context ep16 = new Ep { + IdEP = 16, IdCollaborateur = Guid.Parse("0968ccd3-1ef5-4041-83f3-1c76afb02bbf"), IdReferent = Guid.Parse("01ee85ff-d7f3-494b-b1de-26ced8fbfa0d"), IdBu = 2, @@ -733,6 +749,7 @@ namespace EPAServeur.Context ep17 = new Ep { + IdEP = 17, IdCollaborateur = Guid.Parse("e7820f92-eab1-42f5-ae96-5c16e71ff1e6"), IdReferent = Guid.Parse("d4fc247b-015a-44d6-8f3e-a52f0902d2bf"), IdBu = 2, @@ -751,6 +768,7 @@ namespace EPAServeur.Context ep18 = new Ep { + IdEP = 18, IdCollaborateur = Guid.Parse("1429be5b-9125-482c-80c4-c1d34afbd8d2"), IdReferent = Guid.Parse("3f276ab8-727a-4e26-ad5d-4d296158688e"), IdBu = 2, @@ -769,6 +787,7 @@ namespace EPAServeur.Context ep19 = new Ep { + IdEP = 19, IdCollaborateur = Guid.Parse("13fbe621-1bc9-4f04-afde-b54ca076e239"), IdReferent = Guid.Parse("f1d14915-89f7-4c1a-a8e1-4148ed7d81d7"), IdBu = 2, @@ -787,6 +806,7 @@ namespace EPAServeur.Context ep20 = new Ep { + IdEP = 20, IdCollaborateur = Guid.Parse("b5254c6c-7caa-435f-a4bb-e0cf92559832"), IdReferent = Guid.Parse("dfea9a3c-7896-444d-9aa0-61ae536091c1"), IdBu = 2, @@ -810,6 +830,7 @@ namespace EPAServeur.Context d1 = new DemandeFormation { + IdDemandeFormation = 1, Libelle = "Formation Cobol", Description = "Demande de formation Cobol avec Mainframe", DemandeRH = false, @@ -824,6 +845,7 @@ namespace EPAServeur.Context d2 = new DemandeFormation { + IdDemandeFormation = 2, Libelle = "Formation React", Description = "Demande de formation React avec Redux", DemandeRH = false, @@ -838,6 +860,7 @@ namespace EPAServeur.Context d3 = new DemandeFormation { + IdDemandeFormation = 3, Libelle = "Formation C#", Description = "Demande de formation C# avec WPF", DemandeRH = false, @@ -852,6 +875,7 @@ namespace EPAServeur.Context d4 = new DemandeFormation { + IdDemandeFormation = 4, Libelle = "Formation C#", Description = "Demande de formation C# avec WPF", DemandeRH = false, @@ -866,6 +890,7 @@ namespace EPAServeur.Context d5 = new DemandeFormation { + IdDemandeFormation = 5, Libelle = "Formation C#", Description = "Demande de formation C# avec WPF", DemandeRH = false, @@ -880,6 +905,7 @@ namespace EPAServeur.Context d6 = new DemandeFormation { + IdDemandeFormation = 6, Libelle = "Formation Vb.Net", Description = "Demande de formation Vb.Net avec WinForms", DemandeRH = false, @@ -894,6 +920,7 @@ namespace EPAServeur.Context d7 = new DemandeFormation { + IdDemandeFormation = 7, Libelle = "Formation Vb.Net", Description = "Demande de formation Vb.Net avec WinForms", DemandeRH = false, @@ -908,6 +935,7 @@ namespace EPAServeur.Context d8 = new DemandeFormation { + IdDemandeFormation = 8, Libelle = "Formation SQL", Description = "Demande de formation SQL avec SQL Server", DemandeRH = false, @@ -922,6 +950,7 @@ namespace EPAServeur.Context d9 = new DemandeFormation { + IdDemandeFormation = 9, Libelle = "Formation PHP", Description = "Demande de formation PHP avec Laravel", DemandeRH = false, @@ -936,6 +965,7 @@ namespace EPAServeur.Context d10 = new DemandeFormation { + IdDemandeFormation = 10, Libelle = "Formation Vue.JS", Description = "Demande de formation Vue.JS", DemandeRH = false, @@ -950,6 +980,7 @@ namespace EPAServeur.Context d11 = new DemandeFormation { + IdDemandeFormation = 11, Libelle = "Formation SCRUM", Description = "Demande de formation sur la méthode agile SCRUM", DemandeRH = false, @@ -964,6 +995,7 @@ namespace EPAServeur.Context d12 = new DemandeFormation { + IdDemandeFormation = 12, Libelle = "Formation C#", Description = "Demande de formation C# avec Xamarin", DemandeRH = false, @@ -985,6 +1017,7 @@ namespace EPAServeur.Context p1 = new ParticipationFormation { + IdParticipationFormation = 1, DateCreation = new DateTime(2020, 1, 25, 9, 0, 0), EstEvaluee = false, IdDemandeFormation = d1.IdDemandeFormation, @@ -995,6 +1028,7 @@ namespace EPAServeur.Context p2 = new ParticipationFormation { + IdParticipationFormation = 2, DateCreation = new DateTime(2020, 2, 25, 9, 0, 0), EstEvaluee = false, IdDemandeFormation = d2.IdDemandeFormation, @@ -1005,6 +1039,7 @@ namespace EPAServeur.Context p3 = new ParticipationFormation { + IdParticipationFormation = 3, DateCreation = new DateTime(2020, 3, 25, 9, 0, 0), EstEvaluee = false, IdDemandeFormation = d3.IdDemandeFormation, @@ -1015,6 +1050,7 @@ namespace EPAServeur.Context p4 = new ParticipationFormation { + IdParticipationFormation = 4, DateCreation = new DateTime(2020, 4, 25, 9, 0, 0), EstEvaluee = false, IdDemandeFormation = d4.IdDemandeFormation, @@ -1025,6 +1061,7 @@ namespace EPAServeur.Context p5 = new ParticipationFormation { + IdParticipationFormation = 5, DateCreation = new DateTime(2020, 5, 25, 9, 0, 0), EstEvaluee = false, IdDemandeFormation = d5.IdDemandeFormation, @@ -1035,6 +1072,7 @@ namespace EPAServeur.Context p6 = new ParticipationFormation { + IdParticipationFormation = 6, DateCreation = new DateTime(2020, 6, 25, 9, 0, 0), EstEvaluee = false, IdDemandeFormation = d6.IdDemandeFormation, @@ -1045,6 +1083,7 @@ namespace EPAServeur.Context p7 = new ParticipationFormation { + IdParticipationFormation = 7, DateCreation = new DateTime(2020, 7, 25, 9, 0, 0), EstEvaluee = false, IdDemandeFormation = d7.IdDemandeFormation, @@ -1055,6 +1094,7 @@ namespace EPAServeur.Context p8 = new ParticipationFormation { + IdParticipationFormation = 8, DateCreation = new DateTime(2020, 8, 25, 9, 0, 0), EstEvaluee = false, IdDemandeFormation = d8.IdDemandeFormation, @@ -1065,6 +1105,7 @@ namespace EPAServeur.Context p9 = new ParticipationFormation { + IdParticipationFormation = 9, DateCreation = new DateTime(2020, 9, 25, 9, 0, 0), EstEvaluee = false, IdDemandeFormation = d9.IdDemandeFormation, @@ -1075,6 +1116,7 @@ namespace EPAServeur.Context p10 = new ParticipationFormation { + IdParticipationFormation = 10, DateCreation = new DateTime(2020, 10, 25, 9, 0, 0), EstEvaluee = false, IdDemandeFormation = d10.IdDemandeFormation, @@ -1085,6 +1127,7 @@ namespace EPAServeur.Context p11 = new ParticipationFormation { + IdParticipationFormation = 11, DateCreation = new DateTime(2020, 11, 25, 9, 0, 0), EstEvaluee = false, IdDemandeFormation = d11.IdDemandeFormation, @@ -1095,6 +1138,7 @@ namespace EPAServeur.Context p12 = new ParticipationFormation { + IdParticipationFormation = 12, DateCreation = new DateTime(2020, 12, 25, 9, 0, 0), EstEvaluee = false, IdDemandeFormation = d12.IdDemandeFormation, @@ -1107,15 +1151,6 @@ namespace EPAServeur.Context epContext.SaveChanges(); } - /// - /// Insère un jeu de données fictif pour les demandes de formation - /// - /// - public static void AddDemandesFormation(EpContext epContext) - { - - } - /// /// Insère un jeu de données fictif pour les champs ///