public EarthwatcherResource()
 {
     var connectionstring = System.Configuration.ConfigurationManager.ConnectionStrings["EarthwatchersConnection"].ConnectionString;
     this.earthwatcherRepository = new EarthwatcherRepository(connectionstring);
 }
Beispiel #2
0
 public EarthwatcherResource(IEarthwatcherRepository earthwatcherRepository, ILandRepository landRepository, IRegionRepository regionRepository)
 {
     this.earthwatcherRepository = earthwatcherRepository;
     this.landRepository         = landRepository;
     this.regionRepository       = regionRepository;
 }
 public EarthwatcherResource(IEarthwatcherRepository earthwatcherRepository, ILandRepository landRepository, IRegionRepository regionRepository)
 {
     this.earthwatcherRepository = earthwatcherRepository;
     this.landRepository = landRepository;
     this.regionRepository = regionRepository;
 }
Beispiel #4
0
        public EarthwatcherResource()
        {
            var connectionstring = System.Configuration.ConfigurationManager.ConnectionStrings["EarthwatchersConnection"].ConnectionString;

            this.earthwatcherRepository = new EarthwatcherRepository(connectionstring);
        }