Exemplo n.º 1
0
 public Order(PersonClass person, OrderTypeEnum orderType, string orderID, DateTime orderDate, DateTime orderDeliveryDate, List <PriceTable> productsList)
 {
     Person            = person;
     OrderType         = orderType;
     OrderID           = orderID;
     OrderDate         = orderDate;
     OrderDeliveryDate = orderDeliveryDate;
     OrderProductsList = productsList;
 }
Exemplo n.º 2
0
        public override bool Equals(object obj)
        {
            PersonClass person = (PersonClass)obj;

            return(ID.Equals(person.ID));
        }