Пример #1
0
 private static PricePerDate CreatePricePerDate(double price,int year, int month,string saproductcode)
 {
     PricePerDate newPricePerDate = new PricePerDate();
     newPricePerDate.YearT = year;
     newPricePerDate.MonthT = month;
     newPricePerDate.Price = price;
     newPricePerDate.SAPRODUCTCODE = saproductcode;
     return newPricePerDate;
 }
Пример #2
0
 /// <summary>
 /// Create a new PricePerDate object.
 /// </summary>
 /// <param name="price">Initial value of the Price property.</param>
 /// <param name="monthT">Initial value of the MonthT property.</param>
 /// <param name="yearT">Initial value of the YearT property.</param>
 /// <param name="sAPRODUCTCODE">Initial value of the SAPRODUCTCODE property.</param>
 public static PricePerDate CreatePricePerDate(global::System.Double price, global::System.Int32 monthT, global::System.Int32 yearT, global::System.String sAPRODUCTCODE)
 {
     PricePerDate pricePerDate = new PricePerDate();
     pricePerDate.Price = price;
     pricePerDate.MonthT = monthT;
     pricePerDate.YearT = yearT;
     pricePerDate.SAPRODUCTCODE = sAPRODUCTCODE;
     return pricePerDate;
 }