Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MmDataAccessBase class problems
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00863208
Message ID:
00863477
Vues:
12
>Clay,
>
>>I was attempting to call a stored proc. What class should my Common Class be based on in order to call the:
>>
>> public ExecSprocScalar(String sprocName, IDbDataParameter[] dataParams)
>
>That depends on what you're trying to do. Are you trying to create a business object or a data access class? It looks to me as if you're trying to create a business object. If that's the case, you should base Common on mmBusinessObject (or your application-level ABusinessObject).
>
>As Kelly mentioned in his reply, you should only be creating a subclass of mmDataAccessBase if you want to create a data access object that accesses a database other than SQL Server, Oracle, or another database via OLE DB.
>
>Regards,


I was trying to call a stored proc(Oracle) with a return value. The return value will be the uniquekey for a table.
--------------------------
Clay Angelly
cangelly@ie-inc.com
Never argue with an idiot. They drag you down to their level and beat you with experience.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform