示例#1
0
        public override bool Equals(object obj)
        {
            OrderDetails orderDetails = obj as OrderDetails;

            return(this.Id == orderDetails.Id);
        }
示例#2
0
        public override bool Equals(object obj)
        {
            OrderDetails orderDetails = obj as OrderDetails;

            return(this.commodityID == orderDetails.commodityID);
        }