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. The Lounge
  3. So what: 'native' DataSet, LINQ to SQL or Entity Framework?

So what: 'native' DataSet, LINQ to SQL or Entity Framework?

Scheduled Pinned Locked Moved The Lounge
csharpc++cssdatabasesql-server
36 Posts 26 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.
  • D Offline
    D Offline
    Daniel M Camenzind
    wrote on last edited by
    #1

    I spent the last two days reading various articles and blogs about LINQ to SQL and the Entity Framework. After all, I'm still unsure which technology I should use for a project with a SQL Server 2005/2008 that has 50 or less tables. Any idea?

    M J H D A 22 Replies Last reply
    0
    • D Daniel M Camenzind

      I spent the last two days reading various articles and blogs about LINQ to SQL and the Entity Framework. After all, I'm still unsure which technology I should use for a project with a SQL Server 2005/2008 that has 50 or less tables. Any idea?

      M Offline
      M Offline
      Member 96
      wrote on last edited by
      #2

      None of the above?


      "It's so simple to be wise. Just think of something stupid to say and then don't say it." -Sam Levenson

      H 1 Reply Last reply
      0
      • D Daniel M Camenzind

        I spent the last two days reading various articles and blogs about LINQ to SQL and the Entity Framework. After all, I'm still unsure which technology I should use for a project with a SQL Server 2005/2008 that has 50 or less tables. Any idea?

        J Offline
        J Offline
        Judah Gabriel Himango
        wrote on last edited by
        #3

        I understand that LINQ to SQL is meant to be a lightweight ORM framework. LINQ to Entities is the heavyweight, enterprise stuff. I don't recommend using straight ADO.NET unless you're prepared for a lot of plumbing code.

        Tech, life, family, faith: Give me a visit. The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

        M E 2 Replies Last reply
        0
        • J Judah Gabriel Himango

          I understand that LINQ to SQL is meant to be a lightweight ORM framework. LINQ to Entities is the heavyweight, enterprise stuff. I don't recommend using straight ADO.NET unless you're prepared for a lot of plumbing code.

          Tech, life, family, faith: Give me a visit. The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

          M Offline
          M Offline
          Mustafa Ismail Mustafa
          wrote on last edited by
          #4

          And that is what's making me go insane these days...

          1 Reply Last reply
          0
          • D Daniel M Camenzind

            I spent the last two days reading various articles and blogs about LINQ to SQL and the Entity Framework. After all, I'm still unsure which technology I should use for a project with a SQL Server 2005/2008 that has 50 or less tables. Any idea?

            D Offline
            D Offline
            Douglas Troy
            wrote on last edited by
            #5

            We use NHibernate.NET and it works like a charm. Very easy to set-up, configure and use. ... and it's rather zippy.

            E 1 Reply Last reply
            0
            • D Daniel M Camenzind

              I spent the last two days reading various articles and blogs about LINQ to SQL and the Entity Framework. After all, I'm still unsure which technology I should use for a project with a SQL Server 2005/2008 that has 50 or less tables. Any idea?

              H Offline
              H Offline
              Henry Minute
              wrote on last edited by
              #6

              I should start by saying that I have no claim to any expertise in this area. I just bumble about, using what I feel like using for anything that I do. If you have the time, I would suggest that you try to do some small part of the project, in each option. The thing is that I suspect that you will get conflicting advice from any CPians who respond. Although there is a likelyhood of a slight bias toward LINQ to SQL, because it has been around longer. By all means take any advice you feel relevant but as I said i'd suck it and see, for myself. Good luck

              Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?"

              1 Reply Last reply
              0
              • D Douglas Troy

                We use NHibernate.NET and it works like a charm. Very easy to set-up, configure and use. ... and it's rather zippy.

                E Offline
                E Offline
                Ed K
                wrote on last edited by
                #7

                Add Castle.ActiveRecord on top of NHibernate and you'll be done with your datalayer this afternoon!

                ed ~"Watch your thoughts; they become your words. Watch your words they become your actions. Watch your actions; they become your habits. Watch your habits; they become your character. Watch your character; it becomes your destiny." -Frank Outlaw.

                1 Reply Last reply
                0
                • J Judah Gabriel Himango

                  I understand that LINQ to SQL is meant to be a lightweight ORM framework. LINQ to Entities is the heavyweight, enterprise stuff. I don't recommend using straight ADO.NET unless you're prepared for a lot of plumbing code.

                  Tech, life, family, faith: Give me a visit. The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                  E Offline
                  E Offline
                  Ed K
                  wrote on last edited by
                  #8

                  Linq to Sql just isn't ready and anything MS puts a Framework tag line on I avoid.

                  ed ~"Watch your thoughts; they become your words. Watch your words they become your actions. Watch your actions; they become your habits. Watch your habits; they become your character. Watch your character; it becomes your destiny." -Frank Outlaw.

                  J 1 Reply Last reply
                  0
                  • D Daniel M Camenzind

                    I spent the last two days reading various articles and blogs about LINQ to SQL and the Entity Framework. After all, I'm still unsure which technology I should use for a project with a SQL Server 2005/2008 that has 50 or less tables. Any idea?

                    A Offline
                    A Offline
                    Adam Maras
                    wrote on last edited by
                    #9

                    Is this a web application or a Windows Forms application?

                    D 1 Reply Last reply
                    0
                    • A Adam Maras

                      Is this a web application or a Windows Forms application?

                      D Offline
                      D Offline
                      Daniel M Camenzind
                      wrote on last edited by
                      #10

                      A WinForm app

                      1 Reply Last reply
                      0
                      • D Daniel M Camenzind

                        I spent the last two days reading various articles and blogs about LINQ to SQL and the Entity Framework. After all, I'm still unsure which technology I should use for a project with a SQL Server 2005/2008 that has 50 or less tables. Any idea?

                        E Offline
                        E Offline
                        Ennis Ray Lynch Jr
                        wrote on last edited by
                        #11

                        Write your own, you will be so much happier with the results. The only framework I recommend using is .NET; everything else is buggy, barely usable, fluff.

                        Need software developed? Offering C# development all over the United States, ERL GLOBAL, Inc is the only call you will have to make.
                        If you don't ask questions the answers won't stand in your way.
                        Most of this sig is for Google, not ego.

                        H S 2 Replies Last reply
                        0
                        • E Ennis Ray Lynch Jr

                          Write your own, you will be so much happier with the results. The only framework I recommend using is .NET; everything else is buggy, barely usable, fluff.

                          Need software developed? Offering C# development all over the United States, ERL GLOBAL, Inc is the only call you will have to make.
                          If you don't ask questions the answers won't stand in your way.
                          Most of this sig is for Google, not ego.

                          H Offline
                          H Offline
                          Henry Minute
                          wrote on last edited by
                          #12

                          :-D

                          Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?"

                          1 Reply Last reply
                          0
                          • E Ed K

                            Linq to Sql just isn't ready and anything MS puts a Framework tag line on I avoid.

                            ed ~"Watch your thoughts; they become your words. Watch your words they become your actions. Watch your actions; they become your habits. Watch your habits; they become your character. Watch your character; it becomes your destiny." -Frank Outlaw.

                            J Offline
                            J Offline
                            Judah Gabriel Himango
                            wrote on last edited by
                            #13

                            Ed K wrote:

                            Linq to Sql just isn't ready

                            I don't buy that. StackOverflow is becoming one of the biggest dev sites on the web, and they're using Linq-to-SQL behind the scenes.

                            Ed K wrote:

                            anything MS puts a Framework tag line on I avoid.

                            Well then, you should certainly avoid Entities since it's part of the larger .NET framework. :)

                            Tech, life, family, faith: Give me a visit. The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                            E 1 Reply Last reply
                            0
                            • D Daniel M Camenzind

                              I spent the last two days reading various articles and blogs about LINQ to SQL and the Entity Framework. After all, I'm still unsure which technology I should use for a project with a SQL Server 2005/2008 that has 50 or less tables. Any idea?

                              D Offline
                              D Offline
                              Dave Parker
                              wrote on last edited by
                              #14

                              I think it's best trying to avoid LINQ to SQL for any new development. MS have pretty much abandoned it and if what I've heard is true are giving that reason for not fixing the bugs that exist in it. I haven't used entity framework but guess that's more future proof. Alternatively consider something like nHibernate. I haven't used any other than a teensy bit of L2SQL as our company has its own in-house framework and code generator.

                              1 Reply Last reply
                              0
                              • E Ennis Ray Lynch Jr

                                Write your own, you will be so much happier with the results. The only framework I recommend using is .NET; everything else is buggy, barely usable, fluff.

                                Need software developed? Offering C# development all over the United States, ERL GLOBAL, Inc is the only call you will have to make.
                                If you don't ask questions the answers won't stand in your way.
                                Most of this sig is for Google, not ego.

                                S Offline
                                S Offline
                                Shog9 0
                                wrote on last edited by
                                #15

                                Ennis Ray Lynch, Jr. wrote:

                                The only framework I recommend using is .NET; everything else is buggy, barely usable, fluff.

                                Hey, now: there's plenty of buggy, barely-usable fluff in .NET...

                                ----

                                You're right. These facts that you've laid out totally contradict the wild ramblings that I pulled off the back of cornflakes packets.

                                E 1 Reply Last reply
                                0
                                • S Shog9 0

                                  Ennis Ray Lynch, Jr. wrote:

                                  The only framework I recommend using is .NET; everything else is buggy, barely usable, fluff.

                                  Hey, now: there's plenty of buggy, barely-usable fluff in .NET...

                                  ----

                                  You're right. These facts that you've laid out totally contradict the wild ramblings that I pulled off the back of cornflakes packets.

                                  E Offline
                                  E Offline
                                  Ennis Ray Lynch Jr
                                  wrote on last edited by
                                  #16

                                  Yes but it only gets worse as you move up the chain not better.

                                  Need software developed? Offering C# development all over the United States, ERL GLOBAL, Inc is the only call you will have to make.
                                  If you don't ask questions the answers won't stand in your way.
                                  Most of this sig is for Google, not ego.

                                  1 Reply Last reply
                                  0
                                  • D Daniel M Camenzind

                                    I spent the last two days reading various articles and blogs about LINQ to SQL and the Entity Framework. After all, I'm still unsure which technology I should use for a project with a SQL Server 2005/2008 that has 50 or less tables. Any idea?

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

                                    I have yet to experience the apparent value of any ORM, or 'upper' DAL. I'm often more than happy to use the DAAB and pass my UI DataSets from it, if I even need it.

                                    All Sorted

                                    1 Reply Last reply
                                    0
                                    • D Daniel M Camenzind

                                      I spent the last two days reading various articles and blogs about LINQ to SQL and the Entity Framework. After all, I'm still unsure which technology I should use for a project with a SQL Server 2005/2008 that has 50 or less tables. Any idea?

                                      R Offline
                                      R Offline
                                      Rocky Moore
                                      wrote on last edited by
                                      #18

                                      LINQ 2 SQL is up in the air at the moment. That said though, I still use it although it makes sense to keep your datalayer flexible enough that it could be repleaced in the future if there is a need. I kind of expect LINQ 2 SQL to stay around, but you never know with Microsoft and their new cuts. I still do not use EF at all, maybe some day but not yet.

                                      Rocky <>< Recent Blog Post: Doughboy – R.I.P. Thinking about Silverlight? www.SilverlightCity.com

                                      1 Reply Last reply
                                      0
                                      • D Daniel M Camenzind

                                        I spent the last two days reading various articles and blogs about LINQ to SQL and the Entity Framework. After all, I'm still unsure which technology I should use for a project with a SQL Server 2005/2008 that has 50 or less tables. Any idea?

                                        D Offline
                                        D Offline
                                        David Wong
                                        wrote on last edited by
                                        #19

                                        I think Linq to SQL is a brilliant start if you want to get something up and running fast. Combined with Linqpad to generate queries, cut and paste into C#. Also built into Visual Studio no mucking around with configuration files 3rd party libraries etc etc. Give Linqpad a go for a taste of Linq to SQL. David

                                        1 Reply Last reply
                                        0
                                        • J Judah Gabriel Himango

                                          Ed K wrote:

                                          Linq to Sql just isn't ready

                                          I don't buy that. StackOverflow is becoming one of the biggest dev sites on the web, and they're using Linq-to-SQL behind the scenes.

                                          Ed K wrote:

                                          anything MS puts a Framework tag line on I avoid.

                                          Well then, you should certainly avoid Entities since it's part of the larger .NET framework. :)

                                          Tech, life, family, faith: Give me a visit. The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                                          E Offline
                                          E Offline
                                          Ed K
                                          wrote on last edited by
                                          #20

                                          Judah Himango wrote:

                                          I don't buy that.

                                          You don't have to. I'm not trying to sell anything. I was using Linq-to-SQL in a previous project after using Castle.ActiveRecord on several beforehand and comparing the two.. IMHO... Linq-to-SQL just isn't ready for prime time.

                                          Judah Himango wrote:

                                          you should certainly avoid Entities

                                          MS decided to build a testing framework, a logging framework, sql framework and pretty soon I'm expecting a framework framework. They're generally too intrusive, not very flexible and don't cover all the bases. Linq-to-SQL isn't named a framework but same applies.

                                          ed ~"Watch your thoughts; they become your words. Watch your words they become your actions. Watch your actions; they become your habits. Watch your habits; they become your character. Watch your character; it becomes your destiny." -Frank Outlaw.

                                          J 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