FillMultipleDataTables sure works !


Author
Message
Charles R Hankey
Charles R Hankey
StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)
Group: Forum Members
Posts: 524, Visits: 30K
In my first big .NET app I have inherited the need to load at least 35 business objects with data that will be used for lookups, calculations etc.



In the appmain I have one call to one stored proc that fills all 35 business objects on one server trip (very fast) which are available as shared properties of a Lookupmanager class. Works just as advertised ! BigGrin



Now from anywhere in the app it is Lookupmanager.Lookups.BO.column to get a piece of data.



Very cool.

Reply
Bill Cunnien
Bill Cunnien
StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)
Group: Forum Members
Posts: 785, Visits: 3.6K
Hi Charles,



Just curious...with 35 BOs, it is tough for me to assume that the data is static for all 35 BOs. That may be just the world that I live in.



Since you load everything for these BOs at startup, if there is any change in the data for any one of those BOs, then the user has to exit the app and restart. Is that right...or did you perfect a way of refreshing the BOs from time to time?



Thanks,

Bill
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search