BookShop.Models.OrderLine.CreateOrderLine C# (CSharp) 메소드

CreateOrderLine() 공개 정적인 메소드

Create a new OrderLine object.
public static CreateOrderLine ( global bookId, global orderId, global quantity ) : OrderLine
bookId global Initial value of the BookId property.
orderId global Initial value of the OrderId property.
quantity global Initial value of the Quantity property.
리턴 OrderLine
        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;
        }