コード例 #1
0
 public TaxonomyService(string context)
 {
     // TODO: REFACTOR
     this._familyDAO     = new FamilyDAO(context);
     this._genusDAO      = new GenusDAO(context);
     this._speciesDAO    = new SpeciesDAO(context);
     this._cropForCwrDAO = new CropForCwrDAO(context);
     this._cwrMapDAO     = new CwrMapDAO(context);
     this._cwrTraitDAO   = new CwrTraitDAO(context);
     this._folderDAO     = new FolderDAO(context);
     this._citationDAO   = new CitationDAO(context);
     this._referenceDAO  = new ReferenceDAO(context);
     this._regulationDAO = new RegulationDAO(context);
     this._reportDAO     = new ReportDAO(context);
 }
コード例 #2
0
 public TaxonomyService(string context)
 {
     this._familyDAO     = new FamilyDAO(context);
     this._genusDAO      = new GenusDAO(context);
     this._speciesDAO    = new SpeciesDAO(context);
     this._cropForCwrDAO = new CropForCwrDAO(context);
     this._cwrMapDAO     = new CwrMapDAO(context);
     this._cwrTraitDAO   = new CwrTraitDAO(context);
     this._folderDAO     = new FolderDAO(context);
     this._authorDAO     = new AuthorDAO(context);
     this._citationDAO   = new CitationDAO(context);
     this._referenceDAO  = new ReferenceDAO(context);
     this._regulationDAO = new RegulationDAO(context);
     this._reportDAO     = new ReportDAO(context);
     this.geographyDAO   = new GeographyDAO(context);
 }