日期:2014-05-19  浏览次数:20911 次

PetShop的问题,大家看看
///   <summary>
                ///   Default   constructor
                ///   This   is   required   by   web   services   serialization   mechanism
                ///   </summary>
                public   OrderInfo()   {   }

                ///   <summary>
                ///   Constructor   with   specified   initial   values
                ///   </summary>
                ///   <param   name= "orderId "> Unique   identifier </param>
                ///   <param   name= "date "> Order   date </param>
                ///   <param   name= "userId "> User   placing   order </param>
                ///   <param   name= "creditCard "> Credit   card   used   for   order </param>
                ///   <param   name= "billing "> Billing   address   for   the   order </param>
                ///   <param   name= "shipping "> Shipping   address   for   the   order </param>
                ///   <param   name= "total "> Order   total   value </param>
///   <param   name= "line "> Ordered   items </param>
///   <param   name= "authorization "> Credit   card   authorization   number </param>
public   OrderInfo(int   orderId,   DateTime   date,   string   userId,   CreditCardInfo   creditCard,   AddressInfo   billing,   AddressInfo   shipping,   decimal   total,   LineItemInfo[]   line,   Nullable <int>   authorization)   {
                        this.orderId   =   orderId;
                        this.date   =   date;
                        this.userId   =   userId;
                        this.creditCard   =   creditCard;
                        this.billingAddress   =   billing;
                        this.shippingAddress   =   shipping;
                        this.orderTotal   =   total;
this.lineItems   =   line;
this.authorizationNumber   =   authorization;
                }

___________________________________________________________________________