Пример #1
0
 public virtual bool Equals(UCDEmployee other)
 {
     if (this.FullName == other.FullName)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Пример #2
0
        //private DateTime _LastChangeDate;

        //public virtual DateTime LastChangeDate
        //{
        //    get { return _LastChangeDate; }
        //    set { _LastChangeDate = value; }
        //}

        public virtual int CompareTo(UCDEmployee item)
        {
            return(String.Compare(this.FullName, item.FullName));
        }