public virtual void Generate(FbDropDatabaseOperation operation, IModel model, MigrationCommandListBuilder builder) { if (Options.HasFlag(MigrationsSqlGenerationOptions.Script)) { throw new NotSupportedException("Dropping database from script is not supported."); } FbConnection.ClearPool(operation.ConnectionString); FbConnection.DropDatabase(operation.ConnectionString); }
public virtual void Generate(FbDropDatabaseOperation operation, IModel model, MigrationCommandListBuilder builder) { FbConnection.ClearAllPools(); FbConnection.DropDatabase(operation.ConnectionStringBuilder.ToString()); }
public virtual void Generate(FbDropDatabaseOperation operation, IModel model, MigrationCommandListBuilder builder) { throw new NotSupportedException("Firebird doesn't support DropDatabase operation."); }