Exemplo n.º 1
0
        public virtual T[] SelectTop <T>(int rows, string[] fColumns, string[] comparison, object[] values, string[] sColumns, bool[] desc)
        {
            var operation = new SelectTopWhereOleDbOperation <T>(rows, fColumns, comparison, values, sColumns, desc, _conn, _trans);

            operation.Execute();
            return(operation.ReturnObjects);
        }
Exemplo n.º 2
0
        public virtual T[] SelectTop <T>(int rows, string fColumn, string comparison, object value, string sColumn, bool desc)
        {
            var operation = new SelectTopWhereOleDbOperation <T>(rows, fColumn, comparison, value, sColumn, desc, _conn, _trans);

            operation.Execute();
            return(operation.ReturnObjects);
        }