private static Club GetClub(ImporterResultRowsAggregated aggregatedRow) { var club = new Club(); club.Url = aggregatedRow.GetUrl(); club.Email = aggregatedRow.GetEmail(); club.Location = aggregatedRow.GetLocation(); club.AreaOfWork = aggregatedRow.GetTaetigkeitsfeld(); club.Name = aggregatedRow.GetName(); return club; }
private static Company GetCompany(ImporterResultRowsAggregated aggregatedRow) { var organisation = new Company(); organisation.Name = aggregatedRow.GetName(); organisation.Location = aggregatedRow.GetLocation(); organisation.Url = aggregatedRow.GetUrl(); organisation.Industry = aggregatedRow.GetBranche(); organisation.Size = aggregatedRow.GetBeschaeftigte(); organisation.WelfareBalanceFor2011 = aggregatedRow.IsBilanz2011(); organisation.WelfareBalanceFor2012 = aggregatedRow.IsBilanz2012(); organisation.Email = aggregatedRow.GetEmail(); return organisation; }
private Politician GetPolitician(ImporterResultRowsAggregated aggregatedRow) { var politician = new Politician(); politician.Capacity = aggregatedRow.GetPoliticalFunction(); politician.Email = aggregatedRow.GetEmail(); politician.Location = aggregatedRow.GetLocation(); politician.Name = aggregatedRow.GetName(); politician.Url = aggregatedRow.GetUrl(); return politician; }
private Person GetPerson(ImporterResultRowsAggregated aggregatedRow) { var person = new Person(); person.Name = aggregatedRow.GetName(); person.Email = aggregatedRow.GetEmail(); person.Job = aggregatedRow.GetBeruf(); person.Location = aggregatedRow.GetLocation(); person.Url = aggregatedRow.GetUrl(); return person; }