Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cache with MM Business Objects
Message
From
07/05/2004 16:12:48
 
 
To
07/05/2004 14:35:25
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00902022
Message ID:
00902078
Views:
28
This message has been marked as the solution to the initial question of the thread.
Gordon,

>5. The question... How do we give the data back to the Business Object so that our WEB form objects can bind to the data?
>
>
>mmDataSet ds = Cache["myCache"];
>
>if (ds==null)
>{
> ds = (mmDataSet)this.oBusinessObject.GetData(...);
> Cache["myCache"] = ds;
>}
>else
>{
> ds = Cache["myCache"];
> this.oBusinessObject.?????(ds);
>}


Is it the SetCurrentDataSet() method that you are looking for? You can pass the dataset to this BO method and then use the dataset in the BO.
Kendall Webb
Senior Software Engineer
MCAD.Net/MCSD.Net
Previous
Reply
Map
View

Click here to load this message in the networking platform