Esempio n. 1
0
        public OracleDevartMigrationsConfiguration()
        {
            AutomaticMigrationsEnabled        = true;
            AutomaticMigrationDataLossAllowed = true;
            ContextKey = typeof(UbpDbContext).FullName;

            SetSqlGenerator(ProviderName, new Devart.Data.Oracle.Entity.Migrations.OracleEntityMigrationSqlGenerator());

            InintDevartOracle();

            SeedActions.Add(new MigrationsSeedAction());
        }
Esempio n. 2
0
 public CreateDatabaseIfNotExistsWithSeed()
 {
     SeedActions.Add(new CreateDatabaseSeedAction());
 }
Esempio n. 3
0
 public CreateDatabaseIfNotExistsWithSeed()
 {
     SeedActions.Add(new CreateSysRoleSeedAction());
     SeedActions.Add(new CreateCitySeedAction());
 }
Esempio n. 4
0
 public OracleDefaultMigrationsConfiguration()
 {
     SeedActions.Add(new OracleDefaultMigrationsSeedAction());
 }