/// <summary>
 /// Create a new tblCertainValueCertainProductDiscountItem object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="certainValueCertainDiscountID">Initial value of the CertainValueCertainDiscountID property.</param>
 /// <param name="product">Initial value of the Product property.</param>
 /// <param name="quantity">Initial value of the Quantity property.</param>
 /// <param name="value">Initial value of the Value property.</param>
 /// <param name="effectiveDate">Initial value of the EffectiveDate property.</param>
 /// <param name="iM_DateCreated">Initial value of the IM_DateCreated property.</param>
 /// <param name="iM_DateLastUpdated">Initial value of the IM_DateLastUpdated property.</param>
 /// <param name="iM_Status">Initial value of the IM_Status property.</param>
 public static tblCertainValueCertainProductDiscountItem CreatetblCertainValueCertainProductDiscountItem(global::System.Guid id, global::System.Guid certainValueCertainDiscountID, global::System.Guid product, global::System.Int32 quantity, global::System.Decimal value, global::System.DateTime effectiveDate, global::System.DateTime iM_DateCreated, global::System.DateTime iM_DateLastUpdated, global::System.Int32 iM_Status)
 {
     tblCertainValueCertainProductDiscountItem tblCertainValueCertainProductDiscountItem = new tblCertainValueCertainProductDiscountItem();
     tblCertainValueCertainProductDiscountItem.id = id;
     tblCertainValueCertainProductDiscountItem.CertainValueCertainDiscountID = certainValueCertainDiscountID;
     tblCertainValueCertainProductDiscountItem.Product = product;
     tblCertainValueCertainProductDiscountItem.Quantity = quantity;
     tblCertainValueCertainProductDiscountItem.Value = value;
     tblCertainValueCertainProductDiscountItem.EffectiveDate = effectiveDate;
     tblCertainValueCertainProductDiscountItem.IM_DateCreated = iM_DateCreated;
     tblCertainValueCertainProductDiscountItem.IM_DateLastUpdated = iM_DateLastUpdated;
     tblCertainValueCertainProductDiscountItem.IM_Status = iM_Status;
     return tblCertainValueCertainProductDiscountItem;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the tblCertainValueCertainProductDiscountItem EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotblCertainValueCertainProductDiscountItem(tblCertainValueCertainProductDiscountItem tblCertainValueCertainProductDiscountItem)
 {
     base.AddObject("tblCertainValueCertainProductDiscountItem", tblCertainValueCertainProductDiscountItem);
 }