|
-
Mar 16th, 2001, 09:53 AM
#1
Thread Starter
Junior Member
I want to talk about how to create connections to the database in the middle tier. I could simply write a new connection in every method, however I will be reading from a constructor string in order to make it easier to point to a different database. This would require me to alter every components constructor string. The current solution is one component that accepts all of the stored procedure parameters in one array and builds a querystring on the fly, then executes and returns the disconnected recordset. This options seems to be really bloated. I just wanted to know what others are doing in the middle tier.
-
Mar 20th, 2001, 06:20 AM
#2
Fanatic Member
This is very much a design issue and depends to an extent the expected number of users. As a general rule I'd use a connection class object and put it under MTS
-
Mar 20th, 2001, 02:15 PM
#3
Lively Member
bill, can explain about how to do ..
hi bill,
will you explain how to create a connection class ..
i mean a generic one..
thanks
sarath
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|