Esempio n. 1
0
        internal Schema(SchemaSettings settings)
        {
            this.Settings    = settings;
            this.Assets      = new SchemaAssets();
            this.ViewBuilder = new Maps.ViewBuilder(this);

            Generating += SchemaGenerator.SnapshotIsolation;
            Generating += SchemaGenerator.CreateSchemasScript;
            Generating += SchemaGenerator.CreateTablesScript;
            Generating += SchemaGenerator.InsertEnumValuesScript;
            Generating += TypeLogic.Schema_Generating;
            Generating += Assets.Schema_Generating;

            Synchronizing += SchemaSynchronizer.SnapshotIsolation;
            Synchronizing += SchemaSynchronizer.SynchronizeTablesScript;
            Synchronizing += TypeLogic.Schema_Synchronizing;
            Synchronizing += Assets.Schema_Synchronizing;
        }
Esempio n. 2
0
        internal Schema(SchemaSettings settings)
        {
            this.typeCachesLazy = null !;
            this.Settings       = settings;
            this.Assets         = new SchemaAssets();
            this.ViewBuilder    = new Maps.ViewBuilder(this);

            Generating += SchemaGenerator.SnapshotIsolation;
            Generating += SchemaGenerator.PostgresExtensions;
            Generating += SchemaGenerator.PostgreeTemporalTableScript;
            Generating += SchemaGenerator.CreateSchemasScript;
            Generating += SchemaGenerator.CreateTablesScript;
            Generating += SchemaGenerator.InsertEnumValuesScript;
            Generating += TypeLogic.Schema_Generating;
            Generating += Assets.Schema_Generating;

            Synchronizing += SchemaSynchronizer.SnapshotIsolation;
            Synchronizing += SchemaSynchronizer.SynchronizeTablesScript;
            Synchronizing += TypeLogic.Schema_Synchronizing;
            Synchronizing += Assets.Schema_Synchronizing;
        }
Esempio n. 3
0
 public SchemaBuilder(SchemaSettings settings)
 {
     schema = new Schema(settings);
 }