Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multi-Table queries with a BO/Entity?
Message
De
10/04/2008 09:04:23
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01309078
Message ID:
01309654
Vues:
10
Wow!!! That never ocurred to me. That is cool... I've gotta make sure Tim reads this.

So, what you recommend between this method vs. having a JobItems BO and Parts BO with a Releationship to pull the PartDescription into the grid?






>Matt,
>
>>So, I need to understand how the JobItem Entity would handle the PartDescription column since it is not present in the Entity model that was generated from the Business Layer Generator. Since that field (the PartDescription) is not in the JobItems table, I was not able to pick it when generating the JobItems BO and Entity.
>
>You can generate entity objects from stored procedures (and views) in addition to tables. You can regen the entity from the stored procedure and it will include the PartDescription property
>
>Best Regards,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform