Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. DataSet Design to database

DataSet Design to database

Scheduled Pinned Locked Moved C#
csharpdatabasevisual-studiodesignquestion
6 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    cecildt
    wrote on last edited by
    #1

    Hi all, What is a better design in visual studio. To create separate datasets for each database table or one dataset with all tables on the dataset. Lets say the database has 30 tables. Just want to know your opinions! Regards Cecil

    C B 2 Replies Last reply
    0
    • C cecildt

      Hi all, What is a better design in visual studio. To create separate datasets for each database table or one dataset with all tables on the dataset. Lets say the database has 30 tables. Just want to know your opinions! Regards Cecil

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      cecildt wrote:

      What is a better design in visual studio.

      Visual Studio is the IDE. You can do all this stuff in notepad if you want. It has nothing to do with Visual Studio.

      cecildt wrote:

      To create separate datasets for each database table or one dataset with all tables on the dataset.

      Or don't use datasets at all. I don't use them much. I see no need for them. I query the database and everything gets mapped into my business objects.


      Upcoming FREE developer events: * Glasgow: SQL Server Managed Objects AND Reporting Services ... My website

      C 1 Reply Last reply
      0
      • C Colin Angus Mackay

        cecildt wrote:

        What is a better design in visual studio.

        Visual Studio is the IDE. You can do all this stuff in notepad if you want. It has nothing to do with Visual Studio.

        cecildt wrote:

        To create separate datasets for each database table or one dataset with all tables on the dataset.

        Or don't use datasets at all. I don't use them much. I see no need for them. I query the database and everything gets mapped into my business objects.


        Upcoming FREE developer events: * Glasgow: SQL Server Managed Objects AND Reporting Services ... My website

        C Offline
        C Offline
        cecildt
        wrote on last edited by
        #3

        I know Visual Studio is the IDE. :laugh: Just want to know how people are using the DataSets. Thanks for your responds. O, use Notepad++ not notepad!

        P C 2 Replies Last reply
        0
        • C cecildt

          I know Visual Studio is the IDE. :laugh: Just want to know how people are using the DataSets. Thanks for your responds. O, use Notepad++ not notepad!

          P Offline
          P Offline
          Pete OHanlon
          wrote on last edited by
          #4

          cecildt wrote:

          Just want to know how people are using the DataSets.

          I don't. I use business objects. Most serious advice on the subject recommends not using DataSets because of their being a bit overkill and their lack of type safety.

          Deja View - the feeling that you've seen this post before.

          1 Reply Last reply
          0
          • C cecildt

            Hi all, What is a better design in visual studio. To create separate datasets for each database table or one dataset with all tables on the dataset. Lets say the database has 30 tables. Just want to know your opinions! Regards Cecil

            B Offline
            B Offline
            Brady Kelly
            wrote on last edited by
            #5

            I've only started using datasets, so I'm no expert, but I favour one dataset per functional area. For example, I have one dataset for invoicing, with procucts, documents, and customers tables, where the customers table only has the customer data required for invoicing.

            MY BLOG

            Calling all South African developers! Your participation in this local dev community will be mutually beneficial, to you and us.

            1 Reply Last reply
            0
            • C cecildt

              I know Visual Studio is the IDE. :laugh: Just want to know how people are using the DataSets. Thanks for your responds. O, use Notepad++ not notepad!

              C Offline
              C Offline
              Colin Angus Mackay
              wrote on last edited by
              #6

              cecildt wrote:

              use Notepad++ not notepad!

              I was just saying that any two-bit text editor can be used.

              cecildt wrote:

              Just want to know how people are using the DataSets.

              As Pete said, they shouldn't be using them in serious applications. For quick throw away or hobby applications they have their uses.


              Upcoming FREE developer events: * Glasgow: SQL Server Managed Objects AND Reporting Services ... My website

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups