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); } }
public CustomerTypeManager(CustomerType _customertype) { customertype = _customertype; }