Ejemplo n.º 1
0
 /// <summary>
 /// Parameter Constructor For Setting Data For USCensus.
 /// </summary>
 /// <param name="cSVUSCensus"></param>
 /// <param name="values"></param>
 public CensusDAO(CSVUSCensus cSVUSCensus, string[] values)
 {
     stateCode         = values[0];
     state             = values[1];
     population        = values[2];
     totalArea         = values[4];
     populationDensity = values[7];
 }
Ejemplo n.º 2
0
 public CensusDTO(CSVUSCensus usCensus)
 {
     this.stateCode         = usCensus.stateId;
     this.stateName         = usCensus.stateName;
     this.population        = usCensus.population;
     this.housingDensity    = usCensus.housingDensity;
     this.totalArea         = usCensus.totalArea;
     this.waterArea         = usCensus.waterArea;
     this.landArea          = usCensus.landArea;
     this.populationDensity = usCensus.populationDensity;
     this.housingDensity    = usCensus.housingDensity;
 }