public static ISalesItem CreateSalesItem(tbl_Sai item) { ISalesItem salesItem = SalesFactory.createNewSalesItem(item.Sai_, item.SaiNumber, item.SaiSah_, item.SaiPrd_, item.Saivat, item.Saidiscount); return salesItem; }
/// <summary> /// Deprecated Method for adding a new object to the tbl_Sai EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotbl_Sai(tbl_Sai tbl_Sai) { base.AddObject("tbl_Sai", tbl_Sai); }
public static tbl_Sai CreateSalesItem(ISalesItem item) { tbl_Sai sai = new tbl_Sai(); sai.SaiNumber = item.SaiNumber; sai.SaiPrd_ = item.SaiPrdId; sai.Saidiscount = item.SaiDiscount; sai.SaiSah_ = item.SaiSahId; sai.Saivat = item.Saivat; return sai; }
/// <summary> /// Create a new tbl_Sai object. /// </summary> /// <param name="sai_">Initial value of the Sai_ property.</param> public static tbl_Sai Createtbl_Sai(global::System.Int32 sai_) { tbl_Sai tbl_Sai = new tbl_Sai(); tbl_Sai.Sai_ = sai_; return tbl_Sai; }