|
-
Nov 5th, 2002, 12:15 PM
#1
Thread Starter
Addicted Member
Best way to open connection in COM+ environment?
hi, here is the scenario:
we have Data.dll that has few data classes and a module w/ global
functions like the one to update database, lets call is: "UpdateDB"
(it takes SQL statement as parameter).
im looking for the best possible way to do this now, so is it better
to:
1) have that global function (UpdateDB) open and close DB connection
within itself
2) open connection at the begining of one of the data functions and
close it at the end, pass connection object to that global function
(UpdateDB)
thanks,
wojo.
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
|