Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Instantiating and using two instances of the same BO
Message
 
To
15/07/2009 16:19:15
Tegron Tegron
Platinum Technologies
Ohio, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
ASP.NET
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01412544
Message ID:
01412564
Views:
42
I'm not sure I can explain this very well. I am using Entity objects as well. The entity objects can contain different datasets. Your methods within the business object can return an entity, entitylist or a dataset. The FillDataSet method just loads data into the table you specify so they are all available. You won't be able to reference columns in the 2nd table as bizobject.entity.columname because the table with the default name is using that. You'll have to get a reference to a row and use that to reference column names. This made my head hurt when I first started working with it but it's getting easier.

>I like the idea, but I am using entity objects as opposed to datasets. Is there a similiar method I could use with entities?
Linda Harmes
HiBit Technologies, Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform