Example #1
0
 //Attention! Constructeur à n'utiliser que pour la creation d'un article non selectionné. (TVA & TTC différent apres insertion.
 public Article(string photo, string commentaire, bool ifRendu, TypeArticle type, PlaceConvoyeur convoyeur, int fk_commande)
 {
     id               = 0;
     this.photo       = photo;
     this.commentaire = commentaire;
     this.ifRendu     = ifRendu;
     this.TVA         = type.TVA;
     this.TTC         = type.TVA;
     this.type        = type;
     this.convoyeur   = convoyeur;
     this.fk_commande = fk_commande;
 }
Example #2
0
 public Article(int id, string photo, string commentaire, bool ifRendu, float TVA, float TTC, TypeArticle type, PlaceConvoyeur convoyeur, int fk_commande)
 {
     this.id          = id;
     this.photo       = photo;
     this.commentaire = commentaire;
     this.ifRendu     = ifRendu;
     this.TVA         = TVA;
     this.TTC         = TTC;
     this.type        = type;
     this.convoyeur   = convoyeur;
     this.fk_commande = fk_commande;
 }
Example #3
0
 public Article(string photo, string commentaire, bool ifRendu, float TVA, float TTC, TypeArticle type, PlaceConvoyeur convoyeur, int fk_commande)
 {
     id               = 0;
     this.photo       = photo;
     this.commentaire = commentaire;
     this.ifRendu     = ifRendu;
     this.TVA         = TVA;
     this.TTC         = TTC;
     this.type        = type;
     this.convoyeur   = convoyeur;
     this.fk_commande = fk_commande;
     date_payee       = DateTime.MinValue;
 }