/// <summary> /// Deprecated Method for adding a new object to the vouchertables EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTovouchertables(vouchertable vouchertable) { base.AddObject("vouchertables", vouchertable); }
/// <summary> /// Create a new vouchertable object. /// </summary> /// <param name="voucher_id">Initial value of the voucher_id property.</param> /// <param name="sno">Initial value of the Sno property.</param> public static vouchertable Createvouchertable(global::System.Int64 voucher_id, global::System.Int32 sno) { vouchertable vouchertable = new vouchertable(); vouchertable.voucher_id = voucher_id; vouchertable.Sno = sno; return vouchertable; }