|
-
Aug 8th, 2004, 02:55 PM
#3
Frenzied Member
Im about to start a project where I want to use strongly typed datasets and XML.
Basically it's a simple asp.net app that will use all the latest stuff we have learned in our company, OO, n-tier, patterns etc. It is a simple maintanence app where you can do CRUD stuff.
The database is SQL server and is already designed by our db department, and they have mailed me the schema file. It's a simple database with about 12 tables with various joins and keys.
Now I want to use their design to build my OO model with classes and strongly typed datasets. Somehow I want to make some use of the existing db model and map that to my business logic and db layer.
Why do I want to use this? Well, if I list all products, then select one product from the list, there is a "save info to file" button. When I click that I want to serialize an xml file based on the info that is present in the UI... without any boring manual coding... the info should already be available to me in the typed dataset which the datagrid is bound to...
As I understand it I have two choices when it comes to designing the business logic, either write custom classes(like we have done before) and make them serializable, OR make typed datasets instead.
All I need are some good advice and a few pointers, and then I can take it from there...
ps I really want to show off how we can benefit from xml and typed datasets and how the db department and the programmers can work more closely together... ds
Kind regards
Henrik
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|