public TSectionMs() { id = new TSectionMsId(); iSectionArgDesc = String.Empty; iSectionDesc = String.Empty; iSectionKana = 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); } TSectionMsId castObj = (TSectionMsId)obj; return((castObj != null) && (this.iCompanyCd == castObj.iCompanyCd) && (this.iSectionCd == castObj.iSectionCd)); }
public TSectionMs( string i_company_cd, string i_section_cd) : this() { id = new TSectionMsId(); id.ICompanyCd = i_company_cd; id.ISectionCd = i_section_cd; iSectionArgDesc = String.Empty; iSectionDesc = String.Empty; iSectionKana = 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; }