Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / January 2006

Tip: Looking for answers? Try searching our database.

VS2005 TableAdapter TableMappings

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Simon Lampen - 11 Jan 2006 03:53 GMT
Sorry I can't find a VS2005 group so here goes...

Is it possible to visually edit the TableMappings of the underlying
DataAdapter of a TableAdapter??

This is possible to do for a simple DataAdapter using the properties window
when exposed on the simple component designer. I can resort to the
DataAdapter object but the ability to generate code for the FillBy and
GetDataBy methods is attractive, however it would be nice to be able to
easily abstract away ugly Database column names by use of the TableMapping
object.

I have tried to expose the underlying DataAdapter of the TableAdapter by
creating my own property with the Browsable codeattribute set but the DataSet
Designer seems impervious to my efforts to get my custom property to show in
the properties window.
This seems a step backward in configurability of a new fairly useful object.

Also is there an easier way to view/edit the xsd (ie xml source) of the
dataset in any of the dataset designers. I can't find an obvious xml tab,
only the view code, view designer options.
The open with... option provides some relief, but what happened to 'context
sensitive', an xsd is xml so why not have a 'view schema' or 'view xml'
option.
Are the VS2005 team trying to take the accessibility of XML out of dotnet :0).

Any tips would be much appreciated.
Ken Carter - 16 Jan 2006 13:12 GMT
It would appear that MS really dropped the ball when it came to table
management.  I think that is because they are hanging there hat on fixed
positioning feature. However, when you have a table the only thing you can
tell of its content is the first level and even then you have no edit
capability of that element under the visual interface unless you pull it out
(via the code view) of the table into the open.

Despite being extremely impressed with the rest of VS2005 this oversight is
either arrogance or stupidity at its best.

> Sorry I can't find a VS2005 group so here goes...
>
[quoted text clipped - 23 lines]
>
> Any tips would be much appreciated.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.