BookShop.Models.Order.CreateOrder C# (CSharp) 메소드

CreateOrder() 공개 정적인 메소드

Create a new Order object.
public static CreateOrder ( global id, global price, global status ) : Order
id global Initial value of the Id property.
price global Initial value of the Price property.
status global Initial value of the Status property.
리턴 Order
        public static Order CreateOrder(global::System.Int32 id, global::System.Decimal price, global::System.String status)
        {
            Order order = new Order();
            order.Id = id;
            order.Price = price;
            order.Status = status;
            return order;
        }