PC Review


Reply
Thread Tools Rate Thread

Using Typed Datasets in asp.net 2.0

 
 
amit@c4ppy.net
Guest
Posts: n/a
 
      11th Apr 2006
I am having a play with typed datasets in ASP.Net 2.0



I am using the builder to create my data layer.



I have the following tables.



[EmployeeType], [Departments], [Location], and [Groups]



The first three tables above have a one to many relation ship to
[Groups] via mapping tables [EmpType2Group], [Dept2Group] and
[Loc2Group] so each record of the first three tables can be linked to
many groups and each of the first three tables can also be linked to
the same group.



I have stored procedures that will return the groupsByLocation,
groupsByDepartments etc.



Now I have created datasets for each of the tables (empType, dept, loc
and groups) with their appropriate table adapters and get methods.



My question is, where do I add the methods GetGroupByLocation, etc? I
cant add them to the Location dataset as the schema doesn't have a
group field, and I cant add them to the Group dataset (which is were I
would imagine it to go) because there is no locationID field in the
schema.



Any ideas?



Cheers

Amit

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
what is meant by typed/untyped/strongly typed datasets? Rachana Microsoft VB .NET 4 14th Nov 2007 08:11 PM
Convering typed and un-typed datasets to each other A.M-SG Microsoft ADO .NET 6 6th Oct 2005 08:28 PM
Using Typed Datasets =?Utf-8?B?YnNhdHllbg==?= Microsoft Dot NET Framework 0 28th Apr 2005 08:00 PM
Typed DataSets returned as regular datasets =?Utf-8?B?Sm9uIEtpbmc=?= Microsoft ADO .NET 2 29th Aug 2004 01:41 AM
Converting Untyped Datasets into Strongly Typed Datasets with Foreign Key Constraints. Alex Berryhill Microsoft ADO .NET 2 19th Mar 2004 03:20 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:09 AM.