static void Main(string[] args) { using (var context = new BPDbContext()) { context.Database.Initialize(force: true); Console.WriteLine("Database initializer done! Press any key to continue..."); Console.ReadKey(); } }
public ManufacturerRepository() { db = new BPDbContext(); }
public BatteryChargingRepository() { db = new BPDbContext(); }
public BookmarkRepository() { db = new BPDbContext(); }
public CategoryRepository() { db = new BPDbContext(); }
public StationRepository() { db = new BPDbContext(); _batteryStorageRepo = new BatteryStorageRepository(); _edgeRepository = new EdgeRepository(); }
public StationTypeRepository() { db = new BPDbContext(); }
public ClientApplicationRepository() { db = new BPDbContext(); }
public BatteryRepository() { db = new BPDbContext(); }
public ReservationRepository() { db = new BPDbContext(); }
public BatteryStorageRepository() { db = new BPDbContext(); _batteryCollectionRepo = new BatteryCollectionRepository(); }
public AuctionRepository() { db = new BPDbContext(); }
public CityRepository() { db = new BPDbContext(); }
public BidRepository() { db = new BPDbContext(); }
public StationMaintenanceRepository() { db = new BPDbContext(); _stationRepo = new StationRepository(); _maintenanceTypeRepo = new MaintenanceTypeRepository(); }
public CarModelRepository() { db = new BPDbContext(); }
public ArchiveRepository() { db = new BPDbContext(); }
public ArtistRepository() { db = new BPDbContext(); }
public MaintenanceTypeRepository() { db = new BPDbContext(); }
public ArtworkRepository() { db = new BPDbContext(); }
public UserCarRepository() { db = new BPDbContext(); }
public LogRepository() { db = new BPDbContext(); }
public ArchiveStationRepository() { db = new BPDbContext(); }
public EdgeRepository() { db = new BPDbContext(); }