Exemple #1
0
        public override IMigrationProcessor Create(string connectionString, IAnnouncer announcer, IMigrationProcessorOptions options)
        {
            var factory    = new FirebirdDbFactory();
            var connection = factory.CreateConnection(connectionString);

            return(new FirebirdProcessor(connection, new FirebirdGenerator(FBOptions), announcer, options, factory, FBOptions));
        }
        public override IMigrationProcessor Create(string connectionString, IAnnouncer announcer, IMigrationProcessorOptions options)
        {
            var fbOpt = ((FirebirdOptions)FbOptions.Clone())
                        .ApplyProviderSwitches(options.ProviderSwitches);
            var factory    = new FirebirdDbFactory();
            var connection = factory.CreateConnection(connectionString);

            return(new FirebirdProcessor(connection, new FirebirdGenerator(FbOptions), announcer, options, factory, fbOpt));
        }
 public override IMigrationProcessor Create(string connectionString, IAnnouncer announcer, IMigrationProcessorOptions options)
 {
     var factory = new FirebirdDbFactory();
     var connection = factory.CreateConnection(connectionString);
     return new FirebirdProcessor(connection, new FirebirdGenerator(FBOptions), announcer, options, factory, FBOptions);
 }