Exemplo n.º 1
0
 public ExcelReportsSQLiteGenerator(IVehicleVendorMySqlRepository repoMySql, IVehicleVendorSqLiteRepository repoSqLite, DateTime start, DateTime end)
 {
     this.repoMySql  = repoMySql;
     this.repoSqLite = repoSqLite;
     this.start      = start;
     this.end        = end;
 }
 public ExcelReportsSQLiteGenerator(IVehicleVendorMySqlRepository repoMySql, IVehicleVendorSqLiteRepository repoSqLite, DateTime start, DateTime end)
 {
     this.repoMySql = repoMySql;
     this.repoSqLite = repoSqLite;
     this.start = start;
     this.end = end;
 }
Exemplo n.º 3
0
 public MainWindow()
 {
     InitializeComponent();
     this.repo       = new VehicleVendorRepository(new IVehicleVendorDbContext[] { new VehicleVendorDbContext() });
     this.repoMySql  = new VehicleVendorMySqlRepository();
     this.repoMongo  = new VehicleVendorMongoRepository(new VehicleVendorMongoDb());
     this.repoSqLite = new VehicleVendorSqLiteRepository(new SqLiteContext());
 }
 public MainWindow()
 {
     InitializeComponent();
     this.repo = new VehicleVendorRepository(new IVehicleVendorDbContext[] { new VehicleVendorDbContext() });
     this.repoMySql = new VehicleVendorMySqlRepository();
     this.repoMongo = new VehicleVendorMongoRepository(new VehicleVendorMongoDb());
     this.repoSqLite = new VehicleVendorSqLiteRepository(new SqLiteContext());
 }