Esempio n. 1
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }

            CustomerType CustomerType = obj as CustomerType;

            if (CustomerType == null)
            {
                return(false);
            }

            if (this.CustomerTypeID == CustomerType.CustomerTypeID)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Esempio n. 2
0
 public CustomerTypeManager(CustomerType _customertype)
 {
     customertype = _customertype;
 }