Exemple #1
0
 public SeedingSQLDBFromZip(
     IDealershipData data,
     IDealershipRepository <Employee> employees,
     IDealershipRepository <Shop> shops,
     IDealershipRepository <Sale> sales,
     IDealershipRepository <Vehicle> vehicles)
 {
     this.data      = data;
     this.employees = employees;
     this.shops     = shops;
     this.vehicles  = vehicles;
     this.sales     = sales;
 }
 public EmployeeSeeder(IDealershipData data,
                       IDealershipRepository <Employee> employees,
                       IDealershipRepository <Position> positions,
                       IDealershipRepository <Country> countries,
                       IDealershipRepository <City> cities,
                       IDealershipRepository <Address> addresses,
                       IDealershipRepository <Shop> shops)
 {
     this.data      = data;
     this.employees = employees;
     this.positions = positions;
     this.countries = countries;
     this.cities    = cities;
     this.addresses = addresses;
     this.shops     = shops;
 }
Exemple #3
0
 public MongoDbSeeder(
     string connectionString,
     string databaseName,
     IDealershipData data,
     IDealershipRepository <Vehicle> vehicles,
     IDealershipRepository <Brand> brands,
     IDealershipRepository <Fuel> fuels,
     IDealershipRepository <VehicleType> vehicleTypes
     )
 {
     this.mongoDatabase = this.LoadData(connectionString, databaseName);
     this.mongoVehicles = this.GetVehicleRepositoryFromMongo(this.mongoDatabase);
     this.data          = data;
     this.vehicles      = vehicles;
     this.brands        = brands;
     this.fuels         = fuels;
     this.vehicleTypes  = vehicleTypes;
 }
 public ReportReader(SeedingSQLDBFromZip seedingSQLDBFromZip, IDealershipData data)
 {
     this.seedingSQLDBFromZip = seedingSQLDBFromZip;
     this.data = data;
 }