/// <summary> /// Allows the class to be copied /// </summary> /// <remarks> /// Performs a 'deep copy' of all the data in the class (and its children) /// </remarks> public override object Clone() { DESADV_XSDLib.Consignor_Group newObject = new DESADV_XSDLib.Consignor_Group(_elementName); newObject.m_ILN = m_ILN; newObject.m_IsValidILN = m_IsValidILN; newObject.m_TaxID = m_TaxID; newObject.m_IsValidTaxID = m_IsValidTaxID; newObject.m_AccountNumber = m_AccountNumber; newObject.m_IsValidAccountNumber = m_IsValidAccountNumber; newObject.m_AdditionalAccountNumber = m_AdditionalAccountNumber; newObject.m_IsValidAdditionalAccountNumber = m_IsValidAdditionalAccountNumber; newObject.m_FinancialInstitutionName = m_FinancialInstitutionName; newObject.m_IsValidFinancialInstitutionName = m_IsValidFinancialInstitutionName; newObject.m_FinancialInstitutionID = m_FinancialInstitutionID; newObject.m_IsValidFinancialInstitutionID = m_IsValidFinancialInstitutionID; newObject.m_UtilizationRegisterNumber = m_UtilizationRegisterNumber; newObject.m_IsValidUtilizationRegisterNumber = m_IsValidUtilizationRegisterNumber; newObject.m_Name = m_Name; newObject.m_IsValidName = m_IsValidName; newObject.m_StreetAndNumber = m_StreetAndNumber; newObject.m_IsValidStreetAndNumber = m_IsValidStreetAndNumber; newObject.m_District = m_District; newObject.m_IsValidDistrict = m_IsValidDistrict; newObject.m_CityName = m_CityName; newObject.m_IsValidCityName = m_IsValidCityName; newObject.m_ProvinceCode = m_ProvinceCode; newObject.m_IsValidProvinceCode = m_IsValidProvinceCode; newObject.m_Province = m_Province; newObject.m_IsValidProvince = m_IsValidProvince; newObject.m_PostalCode = m_PostalCode; newObject.m_IsValidPostalCode = m_IsValidPostalCode; newObject.m_PhoneNumber = m_PhoneNumber; newObject.m_IsValidPhoneNumber = m_IsValidPhoneNumber; newObject._validElement = _validElement; // ##HAND_CODED_BLOCK_START ID="Additional clone"## DO NOT MODIFY ANYTHING OUTSIDE OF THESE TAGS // Add Additional clone code here... // ##HAND_CODED_BLOCK_END ID="Additional clone"## DO NOT MODIFY ANYTHING OUTSIDE OF THESE TAGS return(newObject); }
/// <summary> /// Allows the class to be copied /// </summary> /// <remarks> /// Performs a 'deep copy' of all the data in the class (and its children) /// </remarks> public override object Clone() { DESADV_XSDLib.Consignor_Group newObject = new DESADV_XSDLib.Consignor_Group(_elementName); newObject.m_ILN = m_ILN; newObject.m_IsValidILN = m_IsValidILN; newObject.m_TaxID = m_TaxID; newObject.m_IsValidTaxID = m_IsValidTaxID; newObject.m_AccountNumber = m_AccountNumber; newObject.m_IsValidAccountNumber = m_IsValidAccountNumber; newObject.m_AdditionalAccountNumber = m_AdditionalAccountNumber; newObject.m_IsValidAdditionalAccountNumber = m_IsValidAdditionalAccountNumber; newObject.m_FinancialInstitutionName = m_FinancialInstitutionName; newObject.m_IsValidFinancialInstitutionName = m_IsValidFinancialInstitutionName; newObject.m_FinancialInstitutionID = m_FinancialInstitutionID; newObject.m_IsValidFinancialInstitutionID = m_IsValidFinancialInstitutionID; newObject.m_UtilizationRegisterNumber = m_UtilizationRegisterNumber; newObject.m_IsValidUtilizationRegisterNumber = m_IsValidUtilizationRegisterNumber; newObject.m_Name = m_Name; newObject.m_IsValidName = m_IsValidName; newObject.m_StreetAndNumber = m_StreetAndNumber; newObject.m_IsValidStreetAndNumber = m_IsValidStreetAndNumber; newObject.m_District = m_District; newObject.m_IsValidDistrict = m_IsValidDistrict; newObject.m_CityName = m_CityName; newObject.m_IsValidCityName = m_IsValidCityName; newObject.m_ProvinceCode = m_ProvinceCode; newObject.m_IsValidProvinceCode = m_IsValidProvinceCode; newObject.m_Province = m_Province; newObject.m_IsValidProvince = m_IsValidProvince; newObject.m_PostalCode = m_PostalCode; newObject.m_IsValidPostalCode = m_IsValidPostalCode; newObject.m_PhoneNumber = m_PhoneNumber; newObject.m_IsValidPhoneNumber = m_IsValidPhoneNumber; newObject._validElement = _validElement; // ##HAND_CODED_BLOCK_START ID="Additional clone"## DO NOT MODIFY ANYTHING OUTSIDE OF THESE TAGS // Add Additional clone code here... // ##HAND_CODED_BLOCK_END ID="Additional clone"## DO NOT MODIFY ANYTHING OUTSIDE OF THESE TAGS return newObject; }