public TWhPrcsMs() { id = new TWhPrcsMsId(); iWhPrcsCls = String.Empty; iWhPrcsArgDesc = String.Empty; iWhPrcsDesc = String.Empty; iWhPrcsDescKana = String.Empty; iMailNo = String.Empty; iCountryCd = String.Empty; iAddress1 = String.Empty; iAddress2 = String.Empty; iAddress3 = String.Empty; iTel = String.Empty; iFaxNo = String.Empty; iWhCls = String.Empty; iAlcCls = String.Empty; iShangkbn = String.Empty; iSectionCd = String.Empty; iReserve1 = String.Empty; iReserve2 = String.Empty; iReserve3 = String.Empty; iInqItem = String.Empty; iObjectId = 0; iEntryDate = DateTime.MinValue; iUpdDate = DateTime.MinValue; iUpdTimestamp = String.Empty; }
/// <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); } TWhPrcsMsId castObj = (TWhPrcsMsId)obj; return((castObj != null) && (this.iFacCd == castObj.iFacCd) && (this.iWhPrcsCd == castObj.iWhPrcsCd)); }
public TWhPrcsMs( string i_fac_cd, string i_wh_prcs_cd, string i_wh_prcs_cls, string i_wh_cls, string i_alc_cls, string i_section_cd, DateTime i_entry_date, DateTime i_upd_date, string i_upd_timestamp) : this() { id = new TWhPrcsMsId(); id.IFacCd = i_fac_cd; id.IWhPrcsCd = i_wh_prcs_cd; iWhPrcsCls = i_wh_prcs_cls; iWhPrcsArgDesc = String.Empty; iWhPrcsDesc = String.Empty; iWhPrcsDescKana = String.Empty; iMailNo = String.Empty; iCountryCd = String.Empty; iAddress1 = String.Empty; iAddress2 = String.Empty; iAddress3 = String.Empty; iTel = String.Empty; iFaxNo = String.Empty; iWhCls = i_wh_cls; iAlcCls = i_alc_cls; iShangkbn = String.Empty; iSectionCd = i_section_cd; iReserve1 = String.Empty; iReserve2 = String.Empty; iReserve3 = String.Empty; iInqItem = String.Empty; iObjectId = 0; iEntryDate = i_entry_date; iUpdDate = i_upd_date; iUpdTimestamp = i_upd_timestamp; }