示例#1
0
 public Utilisateur(string p_nom, string p_passe, TypeUtilisateur p_typeU,
                    string p_adresse, string p_email, Restaurant p_restaurant)
 {
     this.Nom        = p_nom;
     this.MotDePasse = p_passe;
     this.Type       = p_typeU;
     this.Commandes  = new List <Commande>();
     this.Adresse    = p_adresse;
     this.Email      = p_email;
     this.Restaurant = p_restaurant;
 }
示例#2
0
 public Utilisateur(int p_id, string p_nom, string p_passe, TypeUtilisateur p_typeU,
                    string p_adresse, string p_email, Restaurant p_restaurant, IList <Commande> p_Commandes)
 {
     this.Id         = p_id;
     this.Nom        = p_nom;
     this.MotDePasse = p_passe;
     this.Type       = p_typeU;
     this.Commandes  = p_Commandes;
     this.Adresse    = p_adresse;
     this.Email      = p_email;
     this.Restaurant = p_restaurant;
 }