Exemple #1
0
 public static SupportPresse MapSupportPresse(XpoSupportPresse instance)
 {
     return new SupportPresse()
         {
             id = instance.Oid,
             Code = instance.Code,
             Langue = instance.Langue,
             Libelle = instance.Libelle,
             Sujet = instance.Sujet,
             Type = instance.Type
         };
 }
Exemple #2
0
        public static void initSupport(Session uow)
        {
            #region init support
            var SuppPresse = new XpoSupportPresse(uow);
            SuppPresse.Oid = Guid.NewGuid();
            SuppPresse.Libelle = "Algerie News";
            SuppPresse.Code = 2;
            SuppPresse.Save();

            SuppPresse = new XpoSupportPresse(uow);
            SuppPresse.Oid = Guid.NewGuid();
            SuppPresse.Libelle = "Transaction d Algérie";
            SuppPresse.Code = 25;
            SuppPresse.Save();

            SuppPresse = new XpoSupportPresse(uow);
            SuppPresse.Oid = Guid.NewGuid();
            SuppPresse.Libelle = "El Khabar";
            SuppPresse.Code = 9;
            SuppPresse.Save();

            SuppPresse = new XpoSupportPresse(uow);
            SuppPresse.Oid = Guid.NewGuid();
            SuppPresse.Libelle = "le Quotidien d Oran";
            SuppPresse.Code = 19;
            SuppPresse.Save();

            SuppPresse = new XpoSupportPresse(uow);
            SuppPresse.Oid = Guid.NewGuid();
            SuppPresse.Libelle = "la Nouvelle République";
            SuppPresse.Code = 16;
            SuppPresse.Save();

            SuppPresse = new XpoSupportPresse(uow);
            SuppPresse.Oid = Guid.NewGuid();
            SuppPresse.Libelle = "El Yaoum";
            SuppPresse.Code = 12;
            SuppPresse.Save();

            SuppPresse = new XpoSupportPresse(uow);
            SuppPresse.Oid = Guid.NewGuid();
            SuppPresse.Libelle = "Dajzair News (Ar)";
            SuppPresse.Code = 4;
            SuppPresse.Save();

            SuppPresse = new XpoSupportPresse(uow);
            SuppPresse.Oid = Guid.NewGuid();
            SuppPresse.Libelle = "le Soir d Algérie";
            SuppPresse.Code = 20;
            SuppPresse.Save();

            SuppPresse = new XpoSupportPresse(uow);
            SuppPresse.Oid = Guid.NewGuid();
            SuppPresse.Libelle = "El Moudjahid";
            SuppPresse.Code = 10;
            SuppPresse.Save();

            SuppPresse = new XpoSupportPresse(uow);
            SuppPresse.Oid = Guid.NewGuid();
            SuppPresse.Libelle = "Akher Saa";
            SuppPresse.Code = 1;
            SuppPresse.Save();

            SuppPresse = new XpoSupportPresse(uow);
            SuppPresse.Oid = Guid.NewGuid();
            SuppPresse.Libelle = "Midi Libre";
            SuppPresse.Code = 24;
            SuppPresse.Save();

            SuppPresse = new XpoSupportPresse(uow);
            SuppPresse.Oid = Guid.NewGuid();
            SuppPresse.Libelle = "l Echo d Oran";
            SuppPresse.Code = 6;
            SuppPresse.Save();

            SuppPresse = new XpoSupportPresse(uow);
            SuppPresse.Oid = Guid.NewGuid();
            SuppPresse.Libelle = "l Expression";
            SuppPresse.Code = 22;
            SuppPresse.Save();

            SuppPresse = new XpoSupportPresse(uow);
            SuppPresse.Oid = Guid.NewGuid();
            SuppPresse.Libelle = "Competition";
            SuppPresse.Code = 3;
            SuppPresse.Save();

            SuppPresse = new XpoSupportPresse(uow);
            SuppPresse.Oid = Guid.NewGuid();
            SuppPresse.Libelle = "le Maghreb";
            SuppPresse.Code = 18;
            SuppPresse.Save();

            SuppPresse = new XpoSupportPresse(uow);
            SuppPresse.Oid = Guid.NewGuid();
            SuppPresse.Libelle = "El Haddef";
            SuppPresse.Code = 7;
            SuppPresse.Save();

            SuppPresse = new XpoSupportPresse(uow);
            SuppPresse.Oid = Guid.NewGuid();
            SuppPresse.Libelle = "Horizons";
            SuppPresse.Code = 14;
            SuppPresse.Save();

            SuppPresse = new XpoSupportPresse(uow);
            SuppPresse.Oid = Guid.NewGuid();
            SuppPresse.Libelle = "Ennahar al-Jadid";
            SuppPresse.Code = 13;
            SuppPresse.Save();

            SuppPresse = new XpoSupportPresse(uow);
            SuppPresse.Oid = Guid.NewGuid();
            SuppPresse.Libelle = "le Jeune Indépendant";
            SuppPresse.Code = 17;
            SuppPresse.Save();

            SuppPresse = new XpoSupportPresse(uow);
            SuppPresse.Oid = Guid.NewGuid();
            SuppPresse.Libelle = "El Watan";
            SuppPresse.Code = 11;
            SuppPresse.Save();

            SuppPresse = new XpoSupportPresse(uow);
            SuppPresse.Oid = Guid.NewGuid();
            SuppPresse.Libelle = "Liberté";
            SuppPresse.Code = 23;
            SuppPresse.Save();

            SuppPresse = new XpoSupportPresse(uow);
            SuppPresse.Oid = Guid.NewGuid();
            SuppPresse.Libelle = "Waqt el-Djazair";
            SuppPresse.Code = 26;
            SuppPresse.Save();

            SuppPresse = new XpoSupportPresse(uow);
            SuppPresse.Oid = Guid.NewGuid();
            SuppPresse.Libelle = "le Temps";
            SuppPresse.Code = 21;
            SuppPresse.Save();

            SuppPresse = new XpoSupportPresse(uow);
            SuppPresse.Oid = Guid.NewGuid();
            SuppPresse.Libelle = "Info Soir";
            SuppPresse.Code = 15;
            SuppPresse.Save();

            SuppPresse = new XpoSupportPresse(uow);
            SuppPresse.Oid = Guid.NewGuid();
            SuppPresse.Libelle = "Echorouq";
            SuppPresse.Code = 5;
            SuppPresse.Save();

            SuppPresse = new XpoSupportPresse(uow);
            SuppPresse.Oid = Guid.NewGuid();
            SuppPresse.Libelle = "le Buteur";
            SuppPresse.Code = 8;
            SuppPresse.Save();

            var Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "TV5";
            Supptv.Code = 31;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "Al ARABIYA";
            Supptv.Code =25 ;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "Autres Chaine Francophones";
            Supptv.Code = 34;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "Tamazight Algérie TV4";
            Supptv.Code = 4;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "M6";
            Supptv.Code = 29;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "LA 5e";
            Supptv.Code = 99;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "2M (Maroc)";
            Supptv.Code = 21;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "Al ABASSIYA";
            Supptv.Code = 99;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "Melody Aflam";
            Supptv.Code = 23;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "A3C";
            Supptv.Code = 3;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "Medi 1 sat";
            Supptv.Code = 18;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "MBC Action";
            Supptv.Code = 10;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "MBC 4";
            Supptv.Code = 9;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "MBC Max";
            Supptv.Code = 11;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "NUMIDIA NEWS";
            Supptv.Code = 99;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "MBC 3";
            Supptv.Code = 8;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "AL MASRIA";
            Supptv.Code = 0;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "Rotana Cinéma";
            Supptv.Code = 24;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "Nessma TV";
            Supptv.Code = 13;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "Echorouk TV";
            Supptv.Code = 21;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "Autres Chaine Arabophones";
            Supptv.Code = 33;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "FRANCE 3";
            Supptv.Code = 28;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "BEUR TV";
            Supptv.Code = 99;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "MBC Drama";
            Supptv.Code = 12;

            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "Al JAZEERA SPORT (Payante )";
            Supptv.Code = 16;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "TV7 (Tunisie)";
            Supptv.Code = 99;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "CANAL+";
            Supptv.Code = 30;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "ARTE";
            Supptv.Code =99;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "FRANCE 24";
            Supptv.Code = 32;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "MBC 2";
            Supptv.Code =7;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "TF1";
            Supptv.Code = 26;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "MBC Maser";
            Supptv.Code = 99;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "Al JAZEERA NEWS";
            Supptv.Code = 14;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "El Magharibia TV";
            Supptv.Code = 22;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "El Magharibia TV";
            Supptv.Code = 22;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "Al JAZEERA SPORT";
            Supptv.Code = 99;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "ENTV";
            Supptv.Code = 1;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "Al JAZEERA SPORT ( Gratuit )";
            Supptv.Code = 15;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "MBC 1";
            Supptv.Code = 6;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "FRANCE 2";
            Supptv.Code = 27;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "Dubai TV";
            Supptv.Code = 99;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "TV Coran Algérie TV5";
            Supptv.Code = 5;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "AN Nahar TV";
            Supptv.Code = 19;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "FOX Movies";
            Supptv.Code = 17;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "Abu Dhabi";
            Supptv.Code = 99;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "Canal Algérie";
            Supptv.Code = 2;
            Supptv.Save();

            Supptv = new XpoSupportTV(uow);
            Supptv.Oid = Guid.NewGuid();
            Supptv.Libelle = "AL JAZAIRIA";
            Supptv.Code = 20;
            Supptv.Save();

                var supprd = new XpoSupportRadio(uow);
            supprd.Oid = Guid.NewGuid();
            supprd.Libelle = "Radio Cirta";
            supprd.Code = 107;
            supprd.Save();

            supprd = new XpoSupportRadio(uow);
            supprd.Oid = Guid.NewGuid();
            supprd.Libelle = "Chaine 1";
            supprd.Code = 101;
            supprd.Save();

            supprd = new XpoSupportRadio(uow);
            supprd.Oid = Guid.NewGuid();
            supprd.Libelle = "Chaine 2";
            supprd.Code = 102;
            supprd.Save();

            supprd = new XpoSupportRadio(uow);
            supprd.Oid = Guid.NewGuid();
            supprd.Libelle = "Jil FM";
            supprd.Code = 104;
            supprd.Save();

            supprd = new XpoSupportRadio(uow);
            supprd.Oid = Guid.NewGuid();
            supprd.Libelle = "Chaine 3";
            supprd.Code = 103;
            supprd.Save();

            supprd = new XpoSupportRadio(uow);
            supprd.Oid = Guid.NewGuid();
            supprd.Libelle = "Autres Radio";
            supprd.Code = 110;
            supprd.Save();

            supprd = new XpoSupportRadio(uow);
            supprd.Oid = Guid.NewGuid();
            supprd.Libelle = "Radio El Bahia";
            supprd.Code = 109;
            supprd.Save();

            supprd = new XpoSupportRadio(uow);
            supprd.Oid = Guid.NewGuid();
            supprd.Libelle = "Radio El Hidhab";
            supprd.Code = 108;
            supprd.Save();

            supprd = new XpoSupportRadio(uow);
            supprd.Oid = Guid.NewGuid();
            supprd.Libelle = "Radio Algérie International";
            supprd.Code = 105;
            supprd.Save();

            supprd = new XpoSupportRadio(uow);
            supprd.Oid = Guid.NewGuid();
            supprd.Libelle = "Radio El Bahdja";
            supprd.Code = 106;
            supprd.Save();
            #endregion
        }