コード例 #1
0
        public MutableDictionaryObject DocumentInitialize()
        {
            MutableDictionaryObject dico = new MutableDictionaryObject();

            dico.SetString("table", Table);
            if (DateNaissance != DateTime.MinValue)
            {
                dico.SetDate("dateNaissance", DateNaissance);
            }
            dico.SetString("email", Email);
            dico.SetString("lieuNaissance", LieuNaissance);
            dico.SetString("lieuTravail", LieuTravail);
            dico.SetString("nationalite", Nationalite);
            dico.SetString("nom", Nom);
            dico.SetString("portable", Portable);
            dico.SetString("prenom", Prenom);
            dico.SetString("profession", Profession);
            dico.SetDouble("salaireNetMensuel", SalaireNetMensuel ?? 0);
            dico.SetString("telPro", TelPro);
            dico.SetString("titreSejour", TitreSejour);
            dico.SetString("profession", Profession);
            dico.SetString("civCode", CivCode);
            dico.SetString("civLibelle", CivLibelle);

            return(dico);
        }