示例#1
0
        public override int GetHashCode()
        {
            int hashDocNo      = DocumentNo == null ? 0 : DocumentNo.GetHashCode();
            int hashCustomerId = CustomerId == null ? 0 : CustomerId.GetHashCode();
            int hashSalesmanId = SalesmanId == null ? 0 : SalesmanId.GetHashCode();

            return(hashDocNo * hashCustomerId * hashSalesmanId);
        }