/// <summary>
 /// Create a new Promotion object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="isActive">Initial value of the IsActive property.</param>
 public static Promotion CreatePromotion(global::System.Guid id, global::System.String name, global::System.Boolean isActive)
 {
     Promotion promotion = new Promotion();
     promotion.Id = id;
     promotion.Name = name;
     promotion.IsActive = isActive;
     return promotion;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Promotions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPromotions(Promotion promotion)
 {
     base.AddObject("Promotions", promotion);
 }