public SchemaManager(ISchemaProvider provider, IZetboxContext schema, IZetboxContext savedSchema, ZetboxConfig config) { this.config = config; this.schema = schema; this.db = provider; this.Case = new Cases(schema, provider, savedSchema); }
public SchemaManager(ISchemaProvider provider, IZetboxContext schema, IZetboxContext savedSchema, ZetboxConfig config, IEnumerable<IGlobalMigrationFragment> globalMigrationFragments, IEnumerable<IMigrationFragment> migrationFragments) { this.config = config; this.schema = schema; this.db = provider; this._globalMigrationFragments = globalMigrationFragments; this.Case = new Cases(schema, provider, savedSchema, migrationFragments); }