/// <summary> /// Create a new tblPromotionDiscountItem object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="promotionDiscountId">Initial value of the PromotionDiscountId property.</param> /// <param name="parentProductQuantity">Initial value of the ParentProductQuantity 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 tblPromotionDiscountItem CreatetblPromotionDiscountItem(global::System.Guid id, global::System.Guid promotionDiscountId, global::System.Int32 parentProductQuantity, global::System.DateTime effectiveDate, global::System.DateTime iM_DateCreated, global::System.DateTime iM_DateLastUpdated, global::System.Int32 iM_Status) { tblPromotionDiscountItem tblPromotionDiscountItem = new tblPromotionDiscountItem(); tblPromotionDiscountItem.id = id; tblPromotionDiscountItem.PromotionDiscountId = promotionDiscountId; tblPromotionDiscountItem.ParentProductQuantity = parentProductQuantity; tblPromotionDiscountItem.EffectiveDate = effectiveDate; tblPromotionDiscountItem.IM_DateCreated = iM_DateCreated; tblPromotionDiscountItem.IM_DateLastUpdated = iM_DateLastUpdated; tblPromotionDiscountItem.IM_Status = iM_Status; return tblPromotionDiscountItem; }
/// <summary> /// Deprecated Method for adding a new object to the tblPromotionDiscountItem EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblPromotionDiscountItem(tblPromotionDiscountItem tblPromotionDiscountItem) { base.AddObject("tblPromotionDiscountItem", tblPromotionDiscountItem); }