コード例 #1
0
ファイル: Magasinier.cs プロジェクト: yetelday/AlienRazorMVC
 /// <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);
 }
コード例 #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);
         }
     }
 }
コード例 #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);
     }
 }
コード例 #4
0
ファイル: Magasinier.cs プロジェクト: yetelday/AlienRazorMVC
 /// <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);
 }