public T[] Query(params ISelectMember[] clauses) { var selectStatement = new Select().AddColumnsFromType <T>(); if (clauses != null) { selectStatement.AddClause(clauses); } return(Query(selectStatement)); }
public Dictionary <string, object>[] Query(params ISelectMember[] clauses) { var selectStatement = new Select().AddColumnsFromTableDefinition(TableDefinition); if (clauses != null) { selectStatement.AddClause(clauses); } return(Query(selectStatement)); }