/// <summary> /// Deprecated Method for adding a new object to the tblCustomerDiscount EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblCustomerDiscount(tblCustomerDiscount tblCustomerDiscount) { base.AddObject("tblCustomerDiscount", tblCustomerDiscount); }
/// <summary> /// Create a new tblCustomerDiscount object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="outlet">Initial value of the Outlet property.</param> /// <param name="productRef">Initial value of the ProductRef 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 tblCustomerDiscount CreatetblCustomerDiscount(global::System.Guid id, global::System.Guid outlet, global::System.Guid productRef, global::System.DateTime iM_DateCreated, global::System.DateTime iM_DateLastUpdated, global::System.Int32 iM_Status) { tblCustomerDiscount tblCustomerDiscount = new tblCustomerDiscount(); tblCustomerDiscount.id = id; tblCustomerDiscount.Outlet = outlet; tblCustomerDiscount.ProductRef = productRef; tblCustomerDiscount.IM_DateCreated = iM_DateCreated; tblCustomerDiscount.IM_DateLastUpdated = iM_DateLastUpdated; tblCustomerDiscount.IM_Status = iM_Status; return tblCustomerDiscount; }