Open GoogleCodeExporter opened 9 years ago
I am also looking for enhancement # 2. I have implemented paging in custom
stored
procedure. It will be great if the template can recognize paging in custom SPs.
Original comment by aroke...@dacor.com
on 4 May 2009 at 11:34
Original comment by bniemyjski
on 25 May 2009 at 3:30
Original comment by bniemyjski
on 25 May 2009 at 4:18
I also have had to implement paging in a custom stored procedure. I have a
master
and a detail table. I have created a simple view that combines these tables.
However
I do not use this view it is only there to have nettiers create the domain
object.
I have to be able to return a master record together with the latest detail
record
and also be able to search on a combination of fields from the master table and
the
detail table. I have created a stored procedure like the nettiers GetPaged
stored
procedures but I have added an extra select * from view to trick nettiers into
believing it has to return a VList<ViewEntity> instead of a DataSet or a
IDataReader.
So far everything works. However nettiers generates a method that does not
include
the rowcount like the Getpaged in table and the Get in view generated code. Now
I
have to create an extra stored procedure just to get the rowcount.
Martin van der Linden.
(Netherlands)
Original comment by i...@lindenict.nl
on 13 Aug 2009 at 9:26
Original issue reported on code.google.com by
Aleksand...@gmail.com
on 25 Nov 2008 at 10:21