Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multi-Table queries with a BO/Entity?
Message
From
10/04/2008 09:04:23
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01309078
Message ID:
01309654
Views:
11
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,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform