Example #1
0
 /// <summary>
 /// Create a new tblSaleValueDiscountItems object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="saleValueId">Initial value of the SaleValueId property.</param>
 /// <param name="discountRate">Initial value of the DiscountRate property.</param>
 /// <param name="saleValue">Initial value of the SaleValue 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 tblSaleValueDiscountItems CreatetblSaleValueDiscountItems(global::System.Guid id, global::System.Guid saleValueId, global::System.Decimal discountRate, global::System.Decimal saleValue, global::System.DateTime effectiveDate, global::System.DateTime iM_DateCreated, global::System.DateTime iM_DateLastUpdated, global::System.Int32 iM_Status)
 {
     tblSaleValueDiscountItems tblSaleValueDiscountItems = new tblSaleValueDiscountItems();
     tblSaleValueDiscountItems.id = id;
     tblSaleValueDiscountItems.SaleValueId = saleValueId;
     tblSaleValueDiscountItems.DiscountRate = discountRate;
     tblSaleValueDiscountItems.SaleValue = saleValue;
     tblSaleValueDiscountItems.EffectiveDate = effectiveDate;
     tblSaleValueDiscountItems.IM_DateCreated = iM_DateCreated;
     tblSaleValueDiscountItems.IM_DateLastUpdated = iM_DateLastUpdated;
     tblSaleValueDiscountItems.IM_Status = iM_Status;
     return tblSaleValueDiscountItems;
 }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tblSaleValueDiscountItems EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotblSaleValueDiscountItems(tblSaleValueDiscountItems tblSaleValueDiscountItems)
 {
     base.AddObject("tblSaleValueDiscountItems", tblSaleValueDiscountItems);
 }