Open GoogleCodeExporter opened 9 years ago
What kind of stored procedures would you want to generate from a view?
Original comment by bniemyjski
on 1 May 2012 at 8:01
At the very minimum, three kinds:
--Get_List to select all rows
--Get to perform dynamic search and provide paging support
--Find to perform parameterized search
I'm attaching a SQL script with a Northwind example to illustrate. Please let
me know if you need more info.
Thanks,
Vadym
Original comment by vadym.fo...@gmail.com
on 1 May 2012 at 8:22
Attachments:
Thanks for the script. I've accepted this issue and we will consider adding
this in a future release.
One could modify the current templates to generate off a SchemaObjectBase
object instead of TableSchema, this is the base class for tables and views.
Next, one would need to change the ColumnSchema types to DataObjectBase as this
is the base type for both ViewColumnSchema and ColumnSchema.
Original comment by bniemyjski
on 3 May 2012 at 2:21
Original issue reported on code.google.com by
vadym.fo...@gmail.com
on 1 May 2012 at 7:17