Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scoping of class property
Message
De
21/12/2005 12:55:13
 
 
À
21/12/2005 01:07:20
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01079106
Message ID:
01079933
Vues:
48
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform