Esempio n. 1
0
 public TPersonMs()
 {
     id              = new TPersonMsId();
     iPersonDesc     = String.Empty;
     iPersonDescKana = String.Empty;
     iJobCls         = String.Empty;
     iUserId         = String.Empty;
     iSectionCd      = String.Empty;
     iPersonEngDesc  = String.Empty;
     iPersonCls      = String.Empty;
     iInqItem        = String.Empty;
     iEntryDate      = DateTime.MinValue;
     iUpdDate        = DateTime.MinValue;
     iUpdTimestamp   = String.Empty;
 }
Esempio n. 2
0
        /// <summary>
        /// Local implementation of Equals based on unique value members
        /// </summary>
        public override bool Equals(object obj)
        {
            if (this == obj)
            {
                return(true);
            }
            if ((obj == null) || (obj.GetType() != this.GetType()))
            {
                return(false);
            }
            TPersonMsId castObj = (TPersonMsId)obj;

            return((castObj != null) &&
                   (this.iCompanyCd == castObj.iCompanyCd) &&
                   (this.iPersonCd == castObj.iPersonCd));
        }
Esempio n. 3
0
        public TPersonMs(
            string i_company_cd,
            string i_person_cd,
            string i_section_cd,
            DateTime i_entry_date,
            DateTime i_upd_date,
            string i_upd_timestamp)
            : this()
        {
            id = new TPersonMsId(i_company_cd, i_person_cd);

            iPersonDesc     = String.Empty;
            iPersonDescKana = String.Empty;
            iJobCls         = String.Empty;
            iUserId         = String.Empty;
            iSectionCd      = i_section_cd;
            iPersonEngDesc  = String.Empty;
            iPersonCls      = String.Empty;
            iInqItem        = String.Empty;
            iEntryDate      = i_entry_date;
            iUpdDate        = i_upd_date;
            iUpdTimestamp   = i_upd_timestamp;
        }