Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Typed Datasets with multiple tables
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00951189
Message ID:
00951510
Views:
5
David,

>I have a typed dataset with multiple tables and relations established. How do I create business objects using the MM framework? Do I use two separate business objects for each table in the dataset? The directions for creating business objects is to instantiate an instance of the dataset--wouldn't that instantiate two copies of the dataset?

You don't necessarily need to create two different business objectst. Although you usually specify a default TableName used by a business object, all of the business object / data access methods (GetDataSet, SaveDataSet, etc.) allow you to specify a different table name you can use for each operation.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Reply
Map
View

Click here to load this message in the networking platform