Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Table Adapter - can I use it here?
Message
 
 
To
All
General information
Forum:
ASP.NET
Category:
ADO.NET
Title:
Table Adapter - can I use it here?
Environment versions
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01400471
Message ID:
01400471
Views:
169
Hi everybody,

I have 3 Datasets based on TableAdapters: Orders, OrderDetails and Inventory. I have 3 Biz objects using them as well.

Now, I want to create a list of categories. Assuming I don't have an extra Categories table (and extra TA/DataSet), can I re-use my Inventory TA for this?

I got a warning about TableSchema when I added a query select distinct Category from Items and so I'm a bit worried if I can have Biz Obj method returning a datatable of categories this way.

What do you think should I do?

Thanks.

Ok, I spoke with my colleague and we're going to go with the separate Categories table, so I'll set it up and will use a new TA/DS (but probably the same Biz object).
If it's not broken, fix it until it is.


My Blog
Reply
Map
View

Click here to load this message in the networking platform