Esempio n. 1
0
        public void UpdateProgramme(Programme programme)
        {
            Entity progEntity = findProgrammeEntity(programme);

            progEntity["new_name"]                   = programme.Nom;
            progEntity["new_code"]                   = programme.Code;
            progEntity["new_cycle"]                  = programme.Cycle;
            progEntity["new_departement"]            = programme.Departement;
            progEntity["new_programme_etude_jkweid"] = programme.Identifiant;

            orgService.Update(progEntity);
        }
Esempio n. 2
0
        public void CreateProgramme(Programme programme)
        {
            Entity progEntity = new Entity("new_programme_etude_jkwe");

            progEntity["new_name"]                   = programme.Nom;
            progEntity["new_code"]                   = programme.Code;
            progEntity["new_cycle"]                  = programme.Cycle;
            progEntity["new_departement"]            = programme.Departement;
            progEntity["new_programme_etude_jkweid"] = programme.Identifiant;

            Guid id = orgService.Create(progEntity);
        }
Esempio n. 3
0
 private Entity findProgrammeEntity(Programme programme)
 {
     return(orgService.Retrieve("new_programme_etude_jkwe", programme.Identifiant, new ColumnSet(true)));
 }