"David" <Da***@discussions.microsoft.com> wrote in message
news:DF**********************************@microsof t.com...
I have been developing applications with Java for quite a while but I am
new
to .NET development. I am trying to learn the ".NET way" of creating
Strongly
Typed Objects from a database. The Enterprise Library seems pretty close
to
what I am used to in Java but I am not sure how to create strongly-typed
DataSets. I see that I can use the LoadDataSet method from a
Microsoft.Practices.EnterpriseLibrary.Data.Databas e but I am not clear on
how
I map my relational model to the strongly-typed DataSet. Can anyone
provide
an example or guidance?
Thanks
Easy Way :)
Right-click on the project you want to add the strongly-typed DataSet to,
click Add New Item. Select DataSet from the list and give it a name, then
click on the Ok (or whatever the button name is to accept). You can
manually create the table (element) using the designer that is opened (if
not opened, double-click the dataset you added to the project). An easier
way would be to open the Server Explorer tool window, connect to the
database, then drag-n-drop the table you want to be added to this DataSet.
This is assuming all default options are still intact :)
Mythran