Example #1
0
        public T[] Query(params ISelectMember[] clauses)
        {
            var selectStatement = new Select().AddColumnsFromType <T>();

            if (clauses != null)
            {
                selectStatement.AddClause(clauses);
            }

            return(Query(selectStatement));
        }
Example #2
0
        public Dictionary <string, object>[] Query(params ISelectMember[] clauses)
        {
            var selectStatement = new Select().AddColumnsFromTableDefinition(TableDefinition);

            if (clauses != null)
            {
                selectStatement.AddClause(clauses);
            }

            return(Query(selectStatement));
        }