Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object Oriented Architecture Discussion
Message
From
12/07/2007 13:18:26
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
12/07/2007 11:35:05
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
General information
Forum:
ASP.NET
Category:
Class design
Environment versions
Environment:
VB 8.0
Miscellaneous
Thread ID:
01239519
Message ID:
01239780
Views:
9
>>we deal with similar design here and the approach we use is to have multiple select statements in sprocs and readers to populate collections etc.
>
>Maybe I was fragmenting the flow too much.
>
>Sticking with my example, when would you load the different entities?
>
>Let's say we are going to bring up an alphabetical list of vendors, and we are going to click on the vendor and "zoom in" on their PO history. Are you going to load all vendors, their POs, and all line items once? Or are you going to load a list of vendors and later load a certain vendor's POs when they are zoomed in on?

When it's not VFP I'd do an "on demand" logic:) .net is really slow otherwise even if you don't have very large data.
Load vendors only and on click reuqested PO vice versa. Cache the ones you already looked for and do not query again (not a fast changing data right?).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform