/// <summary> /// Deprecated Method for adding a new object to the StationeryViews EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToStationeryViews(StationeryView stationeryView) { base.AddObject("StationeryViews", stationeryView); }
/// <summary> /// Create a new StationeryView object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="code">Initial value of the code property.</param> /// <param name="stationery_name">Initial value of the stationery_name property.</param> /// <param name="category">Initial value of the category property.</param> /// <param name="price">Initial value of the price property.</param> /// <param name="reorder_level">Initial value of the reorder_level property.</param> /// <param name="reorder_quantity">Initial value of the reorder_quantity property.</param> /// <param name="quantity_in_stock">Initial value of the quantity_in_stock property.</param> /// <param name="pending_quantity_to_distribute">Initial value of the pending_quantity_to_distribute property.</param> /// <param name="unit_of_measure">Initial value of the unit_of_measure property.</param> public static StationeryView CreateStationeryView(global::System.Int32 id, global::System.String code, global::System.String stationery_name, global::System.Int32 category, global::System.Double price, global::System.Int32 reorder_level, global::System.Int32 reorder_quantity, global::System.Int32 quantity_in_stock, global::System.Int32 pending_quantity_to_distribute, global::System.String unit_of_measure) { StationeryView stationeryView = new StationeryView(); stationeryView.id = id; stationeryView.code = code; stationeryView.stationery_name = stationery_name; stationeryView.category = category; stationeryView.price = price; stationeryView.reorder_level = reorder_level; stationeryView.reorder_quantity = reorder_quantity; stationeryView.quantity_in_stock = quantity_in_stock; stationeryView.pending_quantity_to_distribute = pending_quantity_to_distribute; stationeryView.unit_of_measure = unit_of_measure; return stationeryView; }