Beispiel #1
0
 public DatabaseRepresentation(IUsdaDataProvider dataProvider)
 {
     dataDerivation            = dataProvider.GetDataDerivation();
     foodDescription           = dataProvider.GetFoodDescription();
     foodGroupDescription      = dataProvider.GetFoodGroupDescription();
     footnote                  = dataProvider.GetFootnote();
     langualFactor             = dataProvider.GetLangualFactor();
     langualFactorsDescription = dataProvider.GetLangualFactorsDescription();
     nutrientData              = dataProvider.GetNutrientData();
     nutrientDefinition        = dataProvider.GetNutrientDefinition();
     sourceCode                = dataProvider.GetSourceCode();
     sourcesOfData             = dataProvider.GetSourcesOfData();
     sourcesOfDataLink         = dataProvider.GetSourcesOfDataLink();
     weight = dataProvider.GetWeight();
 }
 public DatabaseRepresentation(IUsdaDataProvider dataProvider)
 {
     this.dataDerivation = dataProvider.GetDataDerivation();
     this.foodDescription = dataProvider.GetFoodDescription();
     this.foodGroupDescription = dataProvider.GetFoodGroupDescription();
     this.footnote = dataProvider.GetFootnote();
     this.langualFactor = dataProvider.GetLangualFactor();
     this.langualFactorsDescription = dataProvider.GetLangualFactorsDescription();
     this.nutrientData = dataProvider.GetNutrientData();
     this.nutrientDefinition = dataProvider.GetNutrientDefinition();
     this.sourceCode = dataProvider.GetSourceCode();
     this.sourcesOfData = dataProvider.GetSourcesOfData();
     this.sourcesOfDataLink = dataProvider.GetSourcesOfDataLink();
     this.weight = dataProvider.GetWeight();
 }