123456789101112131415161718192021222324 |
- namespace EVCB_OCPP.Domain.MeterValueDBContextMigrations
- {
- using System;
- using System.Data.Entity;
- using System.Data.Entity.Migrations;
- using System.Linq;
- internal sealed class MeterValueDBConfiguration : DbMigrationsConfiguration<EVCB_OCPP.Domain.MeterValueDBContext>
- {
- public MeterValueDBConfiguration()
- {
- AutomaticMigrationsEnabled = false;
- MigrationsDirectory = @"MeterValueDBContextMigrations";
- }
- protected override void Seed(EVCB_OCPP.Domain.MeterValueDBContext context)
- {
- // This method will be called after migrating to the latest version.
- // You can use the DbSet<T>.AddOrUpdate() helper extension method
- // to avoid creating duplicate seed data.
- }
- }
- }
|