public static CreateOrderLine ( global bookId, global orderId, global quantity ) : |
||
bookId | global | Initial value of the BookId property. |
orderId | global | Initial value of the OrderId property. |
quantity | global | Initial value of the Quantity property. |
return |
public static OrderLine CreateOrderLine(global::System.Int32 bookId, global::System.Int32 orderId, global::System.Int32 quantity)
{
OrderLine orderLine = new OrderLine();
orderLine.BookId = bookId;
orderLine.OrderId = orderId;
orderLine.Quantity = quantity;
return orderLine;
}