I used llbgen extensively in a project doing object retrievals, saving objects->related objects through out my code.
Suddenly now our client ( a big fotune 100 ) wants to only use
stored procedures and web services to access the DB, no direct hit.
Each request goes thru a web service and we can define web services ourselves.
So Looking to see best way to port code with this new architecture.
I did not use Data Adapter, only self servicing.
I am thinking in these lines but a better approach is needed
A generic web service takes a request for say a typeof object ( which can be a llblgen generated object like Customer for Customer table )
and some sql or filter and returns that collection after calling a generic stored procedure ( which takes a table name string or raw sql ?? )
For saving it could be trickier but follow similar design.
How to deal with relations ( I have't used prefetch or fetchpath etc.. )
Any easier way to approach this problem is highly appreciated