Go from Linq to Sql

0

I have the following expression from Linq:

Tabla.Skip(ind_pag).Take(cant_filas).ToList()

How would it be on MySql ???

    
asked by Danilo 21.08.2016 в 00:13
source

1 answer

1

That is a query with paging, the Skip and Take methods indicate how many rows to skip and how many to select respectively. In MySQL this is expressed with LIMIT

SELECT columna1, columna2, ...
FROM Tabla
LIMIT @ind_pag, @cant_filas
    
answered by 21.08.2016 / 08:02
source