/// <summary> /// Deprecated Method for adding a new object to the Discrepancy_View EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDiscrepancy_View(Discrepancy_View discrepancy_View) { base.AddObject("Discrepancy_View", discrepancy_View); }
/// <summary> /// Create a new Discrepancy_View object. /// </summary> /// <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="stationery_name">Initial value of the stationery_name property.</param> /// <param name="code">Initial value of the code property.</param> /// <param name="price">Initial value of the price property.</param> public static Discrepancy_View CreateDiscrepancy_View(global::System.Int32 id, global::System.Int32 quantity, global::System.Int32 status, global::System.String stationery_name, global::System.String code, global::System.Double price) { Discrepancy_View discrepancy_View = new Discrepancy_View(); discrepancy_View.id = id; discrepancy_View.quantity = quantity; discrepancy_View.status = status; discrepancy_View.stationery_name = stationery_name; discrepancy_View.code = code; discrepancy_View.price = price; return discrepancy_View; }