public Record1095CCoveredIndividual translate() { Record1095CCoveredIndividual newRecord = new Record1095CCoveredIndividual(); newRecord.Name = this.Name; newRecord.SSN = this.SSN; newRecord.Covered12Months = this.Covered12Months; newRecord.Covered01 = this.Covered01; newRecord.Covered02 = this.Covered02; return newRecord; }
public Record1095CEmployee translate() { Record1095CEmployee newRecord = new Record1095CEmployee(); newRecord.EmployeeName = this.EmployeeName; newRecord.SSN = this.SSN; Record1095CCoveredIndividual[] children = new Record1095CCoveredIndividual[this.CoveredIndividuals.Count]; int count = 0; foreach (Record1095CCoveredIndividualSCO child in this.CoveredIndividuals) { children[count] = child.translate(); count += 1; } newRecord.Record1095CCoveredIndividual = children; return newRecord; }