Exemple #1
0
 /// <summary>
 /// Add a new BonCommande in the collection
 /// </summary>
 /// <pdGenerated>Default Add</pdGenerated>
 public void AddBonCommande(BonCommande newBonCommande)
 {
     if (newBonCommande == null)
     return;
      if (this.bonCommande == null)
     this.bonCommande = new System.Collections.Generic.List<BonCommande>();
      if (!this.bonCommande.Contains(newBonCommande))
     this.bonCommande.Add(newBonCommande);
 }
Exemple #2
0
 /// <summary>
 /// Remove an existing BonCommande from the collection
 /// </summary>
 /// <pdGenerated>Default Remove</pdGenerated>
 public void RemoveBonCommande(BonCommande oldBonCommande)
 {
     if (oldBonCommande == null)
     {
         return;
     }
     if (this.bonCommande != null)
     {
         if (this.bonCommande.Contains(oldBonCommande))
         {
             this.bonCommande.Remove(oldBonCommande);
         }
     }
 }
Exemple #3
0
 /// <summary>
 /// Add a new BonCommande in the collection
 /// </summary>
 /// <pdGenerated>Default Add</pdGenerated>
 public void AddBonCommande(BonCommande newBonCommande)
 {
     if (newBonCommande == null)
     {
         return;
     }
     if (this.bonCommande == null)
     {
         this.bonCommande = new System.Collections.Generic.List <BonCommande>();
     }
     if (!this.bonCommande.Contains(newBonCommande))
     {
         this.bonCommande.Add(newBonCommande);
     }
 }
Exemple #4
0
 /// <summary>
 /// Remove an existing BonCommande from the collection
 /// </summary>
 /// <pdGenerated>Default Remove</pdGenerated>
 public void RemoveBonCommande(BonCommande oldBonCommande)
 {
     if (oldBonCommande == null)
     return;
      if (this.bonCommande != null)
     if (this.bonCommande.Contains(oldBonCommande))
        this.bonCommande.Remove(oldBonCommande);
 }