on 07-25-2005 5:39 PM
Hi all!
We are designing an app in .Net. And we are doubting between read user tables with .NET datasets or with SAP recordsets.
With .NET datasets the problem is that we are opening another connection with db. But it has a lot of benefits for us because we are using strongly tiped dataset and we use it to pass a lot of information between objects.
My question is. It`s recomended use datasets or recordsets? And what amount of performance we loose using datasets?
Thanks
Hi Javier,
SAP (i.e. DI API) Recordset has not been designed for maximum performance. I.e., it might even be faster to use .NET datasets, but I never tried.
It depends on how often you need to read the data (+ how many + for what purpose) vs. opening another DB connection (=> need credentials etc.) to find out what is faster - or suitable.
You really need to check in an environment which reflects the customer scenario.
It could happen that you find out that the .NET way is significantly faster, but I don't know.
Regards,
Frank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried the 2 way ... and, for user tables, I think the better solution is using datasets.
Recordsets are not a optimized for massive operations.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.