Example #1
0
 public TRateMs()
 {
     //iCompanyCd = String.Empty;
     //iRateCls = String.Empty;
     //iDlCurrCd = String.Empty;
     //iEffEndDate = 0;
     id            = new TRateMsID();
     iRate         = 0;
     iCnvMethod    = String.Empty;
     iEntryDate    = DateTime.MinValue;
     iUpdDate      = DateTime.MinValue;
     iUpdTimestamp = String.Empty;
 }
Example #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);
            }
            TRateMsID castObj = (TRateMsID)obj;

            return((castObj != null) &&
                   (this.iCompanyCd == castObj.ICompanyCd) &&
                   (this.iRateCls == castObj.IRateCls) &&
                   (this.iDlCurrCd == castObj.IDlCurrCd) &&
                   (this.iEffEndDate == castObj.IEffEndDate));
        }
Example #3
0
 public TRateMs(
     string i_company_cd,
     string i_rate_cls,
     string i_dl_curr_cd,
     decimal i_eff_end_date,
     decimal i_rate,
     string i_cnv_method,
     DateTime i_entry_date,
     DateTime i_upd_date,
     string i_upd_timestamp)
     : this()
 {
     //iCompanyCd = i_company_cd;
     //iRateCls = i_rate_cls;
     //iDlCurrCd = i_dl_curr_cd;
     //iEffEndDate = i_eff_end_date;
     id            = new TRateMsID(i_company_cd, i_rate_cls, i_dl_curr_cd, i_eff_end_date);
     iRate         = i_rate;
     iCnvMethod    = i_cnv_method;
     iEntryDate    = i_entry_date;
     iUpdDate      = i_upd_date;
     iUpdTimestamp = i_upd_timestamp;
 }