/// <summary> /// Deprecated Method for adding a new object to the PurchaseOrderViews EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPurchaseOrderViews(PurchaseOrderView purchaseOrderView) { base.AddObject("PurchaseOrderViews", purchaseOrderView); }
/// <summary> /// Create a new PurchaseOrderView object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="po_stationery">Initial value of the po_stationery property.</param> /// <param name="po_quantity_in_hand">Initial value of the po_quantity_in_hand property.</param> /// <param name="po_reorder_level">Initial value of the po_reorder_level property.</param> /// <param name="po_reordered_quantity">Initial value of the po_reordered_quantity property.</param> /// <param name="po_supplier">Initial value of the po_supplier property.</param> /// <param name="po_reorder_date">Initial value of the po_reorder_date property.</param> /// <param name="po_status">Initial value of the po_status property.</param> /// <param name="supplier_name">Initial value of the supplier_name 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="category">Initial value of the category property.</param> /// <param name="unit_of_measure">Initial value of the unit_of_measure property.</param> public static PurchaseOrderView CreatePurchaseOrderView(global::System.Int32 id, global::System.Int32 po_stationery, global::System.Int32 po_quantity_in_hand, global::System.Int32 po_reorder_level, global::System.Int32 po_reordered_quantity, global::System.Int32 po_supplier, global::System.DateTime po_reorder_date, global::System.Int32 po_status, global::System.String supplier_name, global::System.String stationery_name, global::System.String code, global::System.Int32 category, global::System.String unit_of_measure) { PurchaseOrderView purchaseOrderView = new PurchaseOrderView(); purchaseOrderView.id = id; purchaseOrderView.po_stationery = po_stationery; purchaseOrderView.po_quantity_in_hand = po_quantity_in_hand; purchaseOrderView.po_reorder_level = po_reorder_level; purchaseOrderView.po_reordered_quantity = po_reordered_quantity; purchaseOrderView.po_supplier = po_supplier; purchaseOrderView.po_reorder_date = po_reorder_date; purchaseOrderView.po_status = po_status; purchaseOrderView.supplier_name = supplier_name; purchaseOrderView.stationery_name = stationery_name; purchaseOrderView.code = code; purchaseOrderView.category = category; purchaseOrderView.unit_of_measure = unit_of_measure; return purchaseOrderView; }