public FuturAcquereur(Aquereur principal, Aquereur secondaire, Adresse adresse)
        {
            AquereurPrincipal  = principal;
            AquereurSecondaire = secondaire;
            Financements       = new ObservableCollection <Financement>();
            Enfants            = new ObservableCollection <Enfant>();
            Adresse            = adresse;

            PropertyChanged += FuturAcquereur_PropertyChanged;
        }
        public static Adresse ToAdresse(this Couchbase.Lite.IMutableDictionary dico)
        {
            Adresse adresse = new Adresse();

            if (dico.GetString("intitule1") != null)
            {
                adresse.Intitule1 = dico.GetString("intitule1");
            }

            if (dico.GetString("intitule2") != null)
            {
                adresse.Intitule2 = dico.GetString("intitule2");
            }

            if (dico.GetString("intitule3") != null)
            {
                adresse.Intitule3 = dico.GetString("intitule3");
            }

            if (dico.GetString("libelle1") != null)
            {
                adresse.Libelle1 = dico.GetString("libelle1");
            }

            if (dico.GetString("libelle2") != null)
            {
                adresse.Libelle2 = dico.GetString("libelle2");
            }

            if (dico.GetString("libelle3") != null)
            {
                adresse.Libelle3 = dico.GetString("libelle3");
            }

            if (dico.GetString("pays") != null)
            {
                adresse.Pays = dico.GetString("pays");
            }

            if (dico.GetString("payCode") != null)
            {
                adresse.PayCode = dico.GetString("payCode");
            }
            else
            {
                adresse.PayCode = adresse.Pays;
            }

            if (dico.GetString("codePostal") != null)
            {
                adresse.CodePostal = dico.GetString("codePostal");
            }

            if (dico.GetString("ville") != null)
            {
                adresse.Ville = dico.GetString("ville");
            }

            adresse.ComNum = dico.GetLong("comNum");

            return(adresse);
        }