/// <summary> /// Deprecated Method for adding a new object to the mItemsRequests EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTomItemsRequests(mItemsRequest mItemsRequest) { base.AddObject("mItemsRequests", mItemsRequest); }
/// <summary> /// Create a new mItemsRequest object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="requestId">Initial value of the RequestId property.</param> /// <param name="itemId">Initial value of the ItemId property.</param> /// <param name="quantity">Initial value of the Quantity property.</param> /// <param name="isQuoteSent">Initial value of the IsQuoteSent property.</param> /// <param name="stockOnHand">Initial value of the StockOnHand property.</param> /// <param name="costObjectiveId">Initial value of the CostObjectiveId property.</param> public static mItemsRequest CreatemItemsRequest(global::System.Int32 id, global::System.Guid requestId, global::System.Guid itemId, global::System.Int32 quantity, global::System.Boolean isQuoteSent, global::System.Int32 stockOnHand, global::System.Int32 costObjectiveId) { mItemsRequest mItemsRequest = new mItemsRequest(); mItemsRequest.Id = id; mItemsRequest.RequestId = requestId; mItemsRequest.ItemId = itemId; mItemsRequest.Quantity = quantity; mItemsRequest.IsQuoteSent = isQuoteSent; mItemsRequest.StockOnHand = stockOnHand; mItemsRequest.CostObjectiveId = costObjectiveId; return mItemsRequest; }