Beispiel #1
0
 public void ValidationPersoneTest()
 {
     MKSBusiness<Personne> b = new MKSBusiness<Personne>();
     b.SetValidation(new ValidationPersonne());
     Personne p = new Personne();
     p.Nom = "LOLO";
     b.Select(p);
 }
Beispiel #2
0
        public Personne Ajouter(Personne personne)
        {
            MKSBusiness<Personne> b = new MKSBusiness<Personne>();

            b.SetValidation(new ValidationPersonne());
            b.SetPreProcessAdd(new ProcessAddPersonne());

            return b.Add(personne);
        }
Beispiel #3
0
        public Personne Ajouter(Personne personne)
        {
            MKSBusiness <Personne> b = new MKSBusiness <Personne>();

            b.SetValidation(new ValidationPersonne());
            b.SetPreProcessAdd(new ProcessAddPersonne());


            return(b.Add(personne));
        }
Beispiel #4
0
        public void ValidationPersoneTest()
        {
            MKSBusiness <Personne> b = new MKSBusiness <Personne>();

            b.SetValidation(new ValidationPersonne());
            Personne p = new Personne();

            p.Nom = "LOLO";
            b.Select(p);
        }