C
Cylix
I have a number of function to get some data in database,
What is the better design for the task?
There should be three function to get differnece data in difference
tables,
They may need to be call seperately, and so I prefer they have their
own function.
However, In my program, The startup process must run this function once
to set up the UI.
So I prefer there may be another function to get all the there
recordset to a datatable.
And finally, combine and return a dataset.
Actually, the bottle neck is on connection, and so, I would like to use
as few as possible of connection.
Thank you.
What is the better design for the task?
There should be three function to get differnece data in difference
tables,
They may need to be call seperately, and so I prefer they have their
own function.
However, In my program, The startup process must run this function once
to set up the UI.
So I prefer there may be another function to get all the there
recordset to a datatable.
And finally, combine and return a dataset.
Actually, the bottle neck is on connection, and so, I would like to use
as few as possible of connection.
Thank you.