public static string GenerateAllTables(this System.Data.Common.DbConnection connection, GeneratorBehavior generatorBehavior) { return(connection.GenerateAllTables(((generatorBehavior & GeneratorBehavior.View) != 0) ? true : false, generatorBehavior)); }