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. Web Development
  3. ASP.NET
  4. .NET Best Architecture!!!?

.NET Best Architecture!!!?

Scheduled Pinned Locked Moved ASP.NET
questioncsharpdatabasexmlarchitecture
4 Posts 3 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
    cloudking11966
    wrote on last edited by
    #1

    Hi All, Recently I heard that some companies create a class of each tables present in the database, I will illustrate the same If there is a table called Employee with EmployeeId, EmployeeName and Salary, then they create a class clsEmployee with EmployeeId, EmployeeName and Salary as their private fields and accessor methods. And rather than passing the Dataset or XML through the wire, they pass the collection of this objects. Can anyone tell me what is the advantage of this architecture?, where can I find some articles or guide to implement this architecturte? Grateful to you all:) Sony sebastian

    J M 2 Replies Last reply
    0
    • C cloudking11966

      Hi All, Recently I heard that some companies create a class of each tables present in the database, I will illustrate the same If there is a table called Employee with EmployeeId, EmployeeName and Salary, then they create a class clsEmployee with EmployeeId, EmployeeName and Salary as their private fields and accessor methods. And rather than passing the Dataset or XML through the wire, they pass the collection of this objects. Can anyone tell me what is the advantage of this architecture?, where can I find some articles or guide to implement this architecturte? Grateful to you all:) Sony sebastian

      J Offline
      J Offline
      just3ala2
      wrote on last edited by
      #2

      Guess u should look for the same reasons why to use object oriented programming because what u r talkin about is a simple implementation for object oriented programming If u want a running ASP.net application (VB Script) send post here

      Best Regards 3ala2 :)

      1 Reply Last reply
      0
      • C cloudking11966

        Hi All, Recently I heard that some companies create a class of each tables present in the database, I will illustrate the same If there is a table called Employee with EmployeeId, EmployeeName and Salary, then they create a class clsEmployee with EmployeeId, EmployeeName and Salary as their private fields and accessor methods. And rather than passing the Dataset or XML through the wire, they pass the collection of this objects. Can anyone tell me what is the advantage of this architecture?, where can I find some articles or guide to implement this architecturte? Grateful to you all:) Sony sebastian

        M Offline
        M Offline
        minhpc_bk
        wrote on last edited by
        #3

        Hi there, Actually, I agree with someone said that they both have their own places, you can find some of interesting discussions from the links: http://weblogs.asp.net/despos/archive/2005/08/04/421549.aspx[^] http://msdn.microsoft.com/msdnmag/issues/05/08/CuttingEdge/[^] http://aspnet.4guysfromrolla.com/articles/050405-1.aspx[^] and here's the tutorial: http://www.asp.net/learn/dataaccess/default.aspx?tabid=63[^]

        C 1 Reply Last reply
        0
        • M minhpc_bk

          Hi there, Actually, I agree with someone said that they both have their own places, you can find some of interesting discussions from the links: http://weblogs.asp.net/despos/archive/2005/08/04/421549.aspx[^] http://msdn.microsoft.com/msdnmag/issues/05/08/CuttingEdge/[^] http://aspnet.4guysfromrolla.com/articles/050405-1.aspx[^] and here's the tutorial: http://www.asp.net/learn/dataaccess/default.aspx?tabid=63[^]

          C Offline
          C Offline
          cloudking11966
          wrote on last edited by
          #4

          Thanks Dude!!! I will go through all the links you gave.

          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