public void MakeQuery(string tables, string columns, string condition, string values) { queryBuilder.BuildKeyword(); queryBuilder.BuildTables(tables); if (!(queryBuilder is InsertQueryBuilder)) { queryBuilder.BuildWhere(condition); } if (queryBuilder is SelectQueryBuilder) { queryBuilder.BuildColumns(columns); } if (queryBuilder is InsertQueryBuilder) { queryBuilder.BuildColumns(columns); queryBuilder.BuildValues(values); } if (queryBuilder is UpdateQueryBuilder) { queryBuilder.BuildValues(values); } }