/// <summary> /// Deprecated Method for adding a new object to the Supervisor_Discrepancy_View EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSupervisor_Discrepancy_View(Supervisor_Discrepancy_View supervisor_Discrepancy_View) { base.AddObject("Supervisor_Discrepancy_View", supervisor_Discrepancy_View); }
/// <summary> /// Create a new Supervisor_Discrepancy_View object. /// </summary> /// <param name="stationery_name">Initial value of the stationery_name property.</param> /// <param name="id">Initial value of the id property.</param> /// <param name="quantity">Initial value of the quantity property.</param> /// <param name="status">Initial value of the status property.</param> /// <param name="price">Initial value of the price property.</param> /// <param name="totalprice">Initial value of the totalprice property.</param> /// <param name="stationery">Initial value of the stationery property.</param> public static Supervisor_Discrepancy_View CreateSupervisor_Discrepancy_View(global::System.String stationery_name, global::System.Int32 id, global::System.Int32 quantity, global::System.Int32 status, global::System.Double price, global::System.Double totalprice, global::System.Int32 stationery) { Supervisor_Discrepancy_View supervisor_Discrepancy_View = new Supervisor_Discrepancy_View(); supervisor_Discrepancy_View.stationery_name = stationery_name; supervisor_Discrepancy_View.id = id; supervisor_Discrepancy_View.quantity = quantity; supervisor_Discrepancy_View.status = status; supervisor_Discrepancy_View.price = price; supervisor_Discrepancy_View.totalprice = totalprice; supervisor_Discrepancy_View.stationery = stationery; return supervisor_Discrepancy_View; }