Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scoping of class property
Message
From
21/12/2005 12:55:13
 
 
To
21/12/2005 01:07:20
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01079106
Message ID:
01079933
Views:
45
>Have what generic? The connection pooling? That's a SQL Server thing.

I was looking for a generic Framework.Data.SQLExec() method which I wouldn't have to change if we change the backend. So, what I have now seems to be ok. If I go with the SQL pooling, as you mentioned, it won't work for a VFP backend. However, I could still add a property in the class to initialize something like Framework.Data.lSQLBackend which I could turn to true when I know I will query some SQL Server data. So, with that property on, to SQLExec() method could know how to handle it for SQL Server pooling benefit.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform