Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to handle many similar SPROCS
Message
De
14/01/2008 08:35:47
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
À
11/01/2008 01:08:47
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Versions des environnements
Environment:
VB 8.0
Database:
MS SQL Server
Divers
Thread ID:
01280182
Message ID:
01281547
Vues:
22
>>I have one single dataset I am trying to return. I am returning Orders, and each order has a dealer ID. The SPROC returns data only from the order table. Now I want to show the DealerName with each Order (I need to join my Dealer table). Do I do the join in my SPROC and update all my existing GetOrder SPROCS, and the structure of my class or Strongly Typed DataSet (there really needs to be an acronym created for that)?
>>
>>I know what I CAN do, I just don't know what I SHOULD do.

>
>So, it sounds like you simply want to add a new column, DealerName, to your existing Orders DataSet, right? I'd probably update the DataSet to add the column, and then update my Proc(s) to do the JOIN there to return the DealerName with the rest of the table.
>
>I simply refer to them as either DataSets or Typed DataSets ... saying "strongly" is a bit redundant, IMHO. <g>
>
>~~Bonnie

Thanks for the input.
Very fitting: http://xkcd.com/386/
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform